Skip to content

M_Rhino_Geometry_Curve_Trim_2

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Curve.Trim Method (Double, Double)

Removes portions of the curve outside the specified interval.

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

Syntax

C#

public Curve Trim(
	double t0,
	double t1
)

VB

Public Function Trim ( 
	t0 As Double,
	t1 As Double
) As Curve

Parameters

 

t0
Type: System.Double
Start of the trimming interval. Portions of the curve before curve(t0) are removed.
t1
Type: System.Double
End of the trimming interval. Portions of the curve after curve(t1) are removed.

Return Value

Type: Curve
Trimmed portion of this curve is successfull, null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Trim Overload
Rhino.Geometry Namespace

Clone this wiki locally