Click or drag to resize
CurveTrim Method (CurveEnd, Double)
Shortens a curve by a given length

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public Curve Trim(
	CurveEnd side,
	double length
)

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: Curve
Trimmed curve if successful, null on failure.
See Also