M_Rhino_Geometry_Curve_Trim - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.Trim Method (CurveEnd, Double)

Shortens a curve by a given length

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Curve Trim(
	CurveEnd side,
	double length
)

VB

Public Function Trim ( 
	side As CurveEnd,
	length As Double
) As Curve

Parameters

 

side
Type: Rhino.Geometry.CurveEnd
[Missing documentation for "M:Rhino.Geometry.Curve.Trim(Rhino.Geometry.CurveEnd,System.Double)"]
length
Type: System.Double
[Missing documentation for "M:Rhino.Geometry.Curve.Trim(Rhino.Geometry.CurveEnd,System.Double)"]

Return Value

Type: Curve
Trimmed curve if successful, null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Trim Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️