CADability dotNET
Returns the parameters of the intersection points of curve1 with curve2. Parameters are with respect to curve1. The two curves must reside in a common plane.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static double[] Intersect(
	ICurve curve1,
	ICurve curve2,
	bool onlyInside
)
Visual Basic
Public Shared Function Intersect ( _
	curve1 As ICurve, _
	curve2 As ICurve, _
	onlyInside As Boolean _
) As Double()
Visual C++
public:
static array<double>^ Intersect(
	ICurve^ curve1, 
	ICurve^ curve2, 
	bool onlyInside
)

Parameters

curve1
Type: CADability.GeoObject..::..ICurve
First curve for intersection
curve2
Type: CADability.GeoObject..::..ICurve
Second curve for intersection
onlyInside
Type: System..::..Boolean
if true, only intersction point that are actually on the curves are returned otherwise also intersection points on the extension of ther curves are returned

Return Value

Parameters for the intersection points

See Also