CADability dotNET
Returns true if curve1 and curve2 are overlapping curves. The overlapping intervalls for both curves are returned in from1, to1, from2 and to2.

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

Syntax

C#
public static bool Overlapping(
	ICurve curve1,
	ICurve curve2,
	double precision,
	out double from1,
	out double to1,
	out double from2,
	out double to2
)
Visual Basic
Public Shared Function Overlapping ( _
	curve1 As ICurve, _
	curve2 As ICurve, _
	precision As Double, _
	<OutAttribute> ByRef from1 As Double, _
	<OutAttribute> ByRef to1 As Double, _
	<OutAttribute> ByRef from2 As Double, _
	<OutAttribute> ByRef to2 As Double _
) As Boolean
Visual C++
public:
static bool Overlapping(
	ICurve^ curve1, 
	ICurve^ curve2, 
	double precision, 
	[OutAttribute] double% from1, 
	[OutAttribute] double% to1, 
	[OutAttribute] double% from2, 
	[OutAttribute] double% to2
)

Parameters

curve1
Type: CADability.GeoObject..::..ICurve
First curve
curve2
Type: CADability.GeoObject..::..ICurve
Second curve
precision
Type: System..::..Double
Required precision
from1
Type: System..::..Double%
Starting parameter for first curve
to1
Type: System..::..Double%
Ending parameter for first curve
from2
Type: System..::..Double%
Starting parameter for second curve
to2
Type: System..::..Double%
Ending parameter for second curve

Return Value

See Also