RhinoCommon API
CurveTrim Method (CurveEnd, Double) |
Shortens a curve by a given length
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public Curve Trim( CurveEnd side, double length )
Public Function Trim ( side As CurveEnd, length As Double ) As Curve
Parameters
- side
- Type: Rhino.GeometryCurveEnd
[Missing <param name="side"/> documentation for "M:Rhino.Geometry.Curve.Trim(Rhino.Geometry.CurveEnd,System.Double)"]
- length
- Type: SystemDouble
[Missing <param name="length"/> documentation for "M:Rhino.Geometry.Curve.Trim(Rhino.Geometry.CurveEnd,System.Double)"]
Return Value
Type: CurveTrimmed curve if successful, null on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14