M_Rhino_Geometry_Curve_DivideByCount - mcneel/rhinocommon-api-docs GitHub Wiki
Divide the curve into a number of equal-length segments.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public double[] DivideByCount(
int segmentCount,
bool includeEnds
)
VB
Public Function DivideByCount (
segmentCount As Integer,
includeEnds As Boolean
) As Double()
- segmentCount
- Type: System.Int32
Segment count. Note that the number of division points may differ from the segment count. - includeEnds
- Type: System.Boolean
If true, then the points at the start and end of the curve are included.
Type: Double[]
List of curve parameters at the division points on success, null on failure.
Supported in: 6.0.16224.21491, 5D58w