Skip to content

M_Rhino_Geometry_PolyCurve_SegmentIndexes

Will Pearson edited this page Aug 12, 2016 · 2 revisions

PolyCurve.SegmentIndexes Method

Finds the segments that overlap the Polycurve sub domain.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

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

Parameters

 

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.

Return Value

Type: Int32
Number of segments that overlap the subdomain.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

PolyCurve Class
Rhino.Geometry Namespace

Clone this wiki locally