Click or drag to resize

CurveGetPositions Method

[This is preliminary documentation and is subject to change.]

Generate a list 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
C#
public virtual IEnumerable<double> GetPositions(
	double span,
	PositionControl positionControl = PositionControl.IncludeBoth
)

Parameters

span
Type: SystemDouble
Controls the spacing between each position.
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. By default, both are included

Return Value

Type: IEnumerableDouble
A list of numbers between 0 and 1 (included), with a maximum of 50 positions
See Also