Click or drag to resize
CurveDivideByCount Method (Int32, Boolean)
Divide the curve into a number of equal-length segments.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public double[] DivideByCount(
	int segmentCount,
	bool includeEnds
)

Parameters

segmentCount
Type: SystemInt32
Segment count. Note that the number of division points may differ from the segment count.
includeEnds
Type: SystemBoolean
If true, then the points at the start and end of the curve are included.

Return Value

Type: Double
List of curve parameters at the division points on success, null on failure.
See Also