ICurveDivideByLength Method

Divide the curve into specific length segments.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
double[] DivideByLength(
	double segmentLength,
	bool includeEnds
)

Parameters

segmentLength  Double
The length of each and every segment (except potentially the last one).
includeEnds  Boolean
If true, then the point at the start of the first division segment is returned.

Return Value

Double
Array containing division curve parameters if successful, null on failure.

See Also