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

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

Syntax

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

Parameters

curve
Type: CADability.Curve2D..::..ICurve2D
curve
point
Type: CADability..::..GeoPoint2D
point on the circle
radius
Type: System..::..Double
radius of the requsted circle

Return Value

the requested center points

See Also