Click or drag to resize

CurveTrim Method (Interval)

Removes portions of the curve outside the specified interval.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public Curve Trim(
	Interval domain


Type: Rhino.GeometryInterval
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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.27
See Also