Click or drag to resize

PolyCurveSegmentIndexes Method

Finds the segments that overlap the Polycurve sub domain.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int SegmentIndexes(
	Interval subdomain,
	out int segmentIndex0,
	out int segmentIndex1
)

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: Int32
Number of segments that overlap the subdomain.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also