Click or drag to resize

CurveExtendByLine Method

Extends a curve by a line until it intersects a collection of objects.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Curve ExtendByLine(
	CurveEnd side,
	IEnumerable<GeometryBase> geometry
)

Parameters

side
Type: Rhino.GeometryCurveEnd
The end of the curve to extend.
geometry
Type: System.Collections.GenericIEnumerableGeometryBase
A collection of objects. Allowable object types are Curve, Surface, Brep.

Return Value

Type: Curve
New extended curve result on success, null on failure.
See Also