Click or drag to resize

CurveDivideByCount Method (Int32, Boolean, Point3d)

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,
	out Point3d[] points


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.
Type: Rhino.GeometryPoint3d
A list of division points. If the function returns successfully, this point-array will be filled in.

Return Value

Type: Double
Array containing division curve parameters on success, null on failure.
See Also