RhinoCommon API
PolyCurveSegmentIndexes Method |
Finds the segments that overlap the Polycurve sub domain.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public int SegmentIndexes( Interval subdomain, out int segmentIndex0, out int segmentIndex1 )
Public Function SegmentIndexes ( subdomain As Interval, <OutAttribute> ByRef segmentIndex0 As Integer, <OutAttribute> ByRef segmentIndex1 As Integer ) As Integer
Parameters
- subdomain
- Type: Rhino.GeometryInterval
Domain on this PolyCurve. - segmentIndex0
- Type: SystemInt32
Index of first segment that overlaps the subdomain. - segmentIndex1
- Type: SystemInt32
Index of last segment that overlaps the subdomain. Note that segmentIndex0 <= i < segmentIndex1.
Return Value
Type: Int32Number of segments that overlap the subdomain.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8