M_Rhino_Geometry_Curve_DivideByCount_1 - 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,
out Point3d[] points
)
VB
Public Function DivideByCount (
segmentCount As Integer,
includeEnds As Boolean,
<OutAttribute> ByRef points As Point3d()
) 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. - points
- Type: Rhino.Geometry.Point3d[]
A list of division points. If the function returns successfully, this point-array will be filled in.
Type: Double[]
Array containing division curve parameters on success, null on failure.
Supported in: 6.0.16224.21491, 5D58w