Polyline.Trim Method

PolylineTrim Method

Constructs a polyline out of a parameter subdomain in this curve.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Polyline Trim(
	Interval domain
)
Public Function Trim ( 
	domain As Interval
) As Polyline

Parameters

domain
Type: Rhino.GeometryInterval
The subdomain of the polyline. The integer part of the domain parameters indicate the index of the segment.

Return Value

Type: Polyline
The polyline as defined by the subdomain, or null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also