CADability dotNET
Calculates the center points and the tangential points of the circles that are tangential to the given curves and have the given radius. There may be any number of solutions, including no solution. Each solution consists of three points: 1.: the center, 2.: the tangential point to the first curve, 3.: the tangential point to the second curve. The length of the returned array is a multiple of 3 (or 0)

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

Syntax

C#
public static GeoPoint2D[] TangentCircle(
	ICurve2D first,
	ICurve2D second,
	double radius
)
Visual Basic
Public Shared Function TangentCircle ( _
	first As ICurve2D, _
	second As ICurve2D, _
	radius As Double _
) As GeoPoint2D()
Visual C++
public:
static array<GeoPoint2D>^ TangentCircle(
	ICurve2D^ first, 
	ICurve2D^ second, 
	double radius
)

Parameters

first
Type: CADability.Curve2D..::..ICurve2D
first curve
second
Type: CADability.Curve2D..::..ICurve2D
second curve
radius
Type: System..::..Double
radius of the requsted circle

Return Value

the requested center points

See Also