CADability dotNET
Calculates the intersection points of the two curves.

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

Syntax

C#
public static int Intersect(
	ICurve curve1,
	ICurve curve2,
	out double[] par1,
	out double[] par2,
	out GeoPoint[] intersection
)
Visual Basic
Public Shared Function Intersect ( _
	curve1 As ICurve, _
	curve2 As ICurve, _
	<OutAttribute> ByRef par1 As Double(), _
	<OutAttribute> ByRef par2 As Double(), _
	<OutAttribute> ByRef intersection As GeoPoint() _
) As Integer
Visual C++
public:
static int Intersect(
	ICurve^ curve1, 
	ICurve^ curve2, 
	[OutAttribute] array<double>^% par1, 
	[OutAttribute] array<double>^% par2, 
	[OutAttribute] array<GeoPoint>^% intersection
)

Parameters

curve1
Type: CADability.GeoObject..::..ICurve
First curve
curve2
Type: CADability.GeoObject..::..ICurve
Second curve
par1
Type: array<System..::..Double>[]()[][]%
Resulting parameters for the first curve
par2
Type: array<System..::..Double>[]()[][]%
Resulting parameters for the second curve
intersection
Type: array<CADability..::..GeoPoint>[]()[][]%
Three dimensional intersection points

Return Value

Number of intersection points

See Also