M_Rhino_Geometry_Polyline_Trim - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.Trim Method

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

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

Syntax

C#

public Polyline Trim(
	Interval domain
)

VB

Public Function Trim ( 
	domain As Interval
) As Polyline

Parameters

 

domain
Type: Rhino.Geometry.Interval
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️