M_Rhino_Geometry_Curve_Trim_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.Trim Method (Interval)

Removes portions of the curve outside the specified interval.

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

Syntax

C#

public Curve Trim(
	Interval domain
)

VB

Public Function Trim ( 
	domain As Interval
) As Curve

Parameters

 

domain
Type: Rhino.Geometry.Interval
Trimming interval. Portions of the curve before curve(domain[0]) and after curve(domain[1]) are removed.

Return Value

Type: Curve
Trimmed curve if successful, null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Trim Overload
Rhino.Geometry Namespace

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