Click or drag to resize

CurveGetPositionsByApproximation Method

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

Generate a list of relative values that represent positions on the curve. The amount of values returned is determined by GetSegmentCount

Namespace:  Infrastructure.Geometry.Curves
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public IEnumerable<double> GetPositionsByApproximation(
	PositionControl positionControl = PositionControl.IncludeBoth
)

Parameters

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)
See Also