CurveTrim Method (Interval) |
Removes portions of the curve outside the specified interval.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic Curve Trim(
Interval domain
)
Public Function Trim (
domain As Interval
) As Curve
Parameters
- domain
- Type: Rhino.GeometryInterval
Trimming interval. Portions of the curve before curve(domain[0])
and after curve(domain[1]) are removed.
Return Value
Type:
CurveTrimmed curve if successful, null on failure.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also