M_Rhino_Geometry_PolyCurve_SegmentIndex - mcneel/rhinocommon-api-docs GitHub Wiki
Finds the segment used for evaluation at polycurve_parameter.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int SegmentIndex(
double polycurveParameter
)
VB
Public Function SegmentIndex (
polycurveParameter As Double
) As Integer
- polycurveParameter
- Type: System.Double
Parameter on polycurve for segment lookup.
Type: Int32
Index of the segment used for evaluation at polycurve_parameter. If polycurve_parameter < Domain.Min(), then 0 is returned. If polycurve_parameter > Domain.Max(), then Count()-1 is returned.
Supported in: 6.0.16224.21491, 5D58w