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)
Since: 5.0
public double[] DivideByCount(
	int segmentCount,
	bool includeEnds


Type: SystemInt32
Segment count. Note that the number of division points may differ from the segment count.
Type: SystemBoolean
If true, then the point at the start of the first division segment is returned.

Return Value

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