PolyCurve.SegmentIndexes Method

PolyCurveSegmentIndexes Method

Finds the segments that overlap the Polycurve sub domain.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
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 sub-domain.
segmentIndex1
Type: SystemInt32
Index of last segment that overlaps the sub-domain. Note that segmentIndex0 <= i < segmentIndex1.

Return Value

Type: Int32
Number of segments that overlap the sub-domain.
See Also