|
ICurveDivideByLength Method
|
Divide the curve into specific length segments.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxdouble[] DivideByLength(
double segmentLength,
bool includeEnds
)
Function DivideByLength (
segmentLength As Double,
includeEnds As Boolean
) As Double()
array<double>^ DivideByLength(
double segmentLength,
bool includeEnds
)
abstract DivideByLength :
segmentLength : float *
includeEnds : bool -> float[]
Parameters
- segmentLength
- Type: SystemDouble
The length of each and every segment (except potentially the last one). - includeEnds
- Type: SystemBoolean
If true, then the point at the start of the first division segment is returned.
Return Value
Type:
DoubleArray containing division curve parameters if successful, null on failure.
See Also