CurveTrim Method (Interval) |
Removes portions of the curve outside the specified interval.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public 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.
See Also