CurveGetPositionsByCount Method |
[This is preliminary documentation and is subject to change.]
Generate a number of relative values that represent positions on the curve.
All values are between 0 and 1
Namespace:
Infrastructure.Geometry.Curves
Assembly:
Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public IEnumerable<double> GetPositionsByCount(
int count,
PositionControl positionControl = PositionControl.IncludeBoth
)
Parameters
- count
- Type: SystemInt32
The amount of numbers to generate (excludes begin and end, controlled by positionControl) - positionControl (Optional)
- Type: Infrastructure.Geometry.EnumsPositionControl
Used to control if the first and last position (0 and 1) are to be included in the list of positions.
Return Value
Type:
IEnumerableDoubleA list of numbers between 0 and 1
See Also