M_Rhino_Geometry_Curve_Trim_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Removes portions of the curve outside the specified interval.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Curve Trim(
Interval domain
)
VB
Public Function Trim (
domain As Interval
) As Curve
- domain
- Type: Rhino.Geometry.Interval
Trimming interval. Portions of the curve before curve(domain[0]) and after curve(domain[1]) are removed.
Type: Curve
Trimmed curve if successful, null on failure.
Supported in: 6.0.16224.21491, 5D58w