M_Rhino_Geometry_PolyCurve_SegmentIndexes - mcneel/rhinocommon-api-docs GitHub Wiki
Finds the segments that overlap the Polycurve sub domain.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int SegmentIndexes(
Interval subdomain,
out int segmentIndex0,
out int segmentIndex1
)
VB
Public Function SegmentIndexes (
subdomain As Interval,
<OutAttribute> ByRef segmentIndex0 As Integer,
<OutAttribute> ByRef segmentIndex1 As Integer
) As Integer
- subdomain
- Type: Rhino.Geometry.Interval
Domain on this PolyCurve. - segmentIndex0
- Type: System.Int32
Index of first segment that overlaps the subdomain. - segmentIndex1
- Type: System.Int32
Index of last segment that overlaps the subdomain. Note that segmentIndex0 <= i < segmentIndex1.
Type: Int32
Number of segments that overlap the subdomain.
Supported in: 6.0.16224.21491, 5D58w