CADability dotNET
Returns the intersection points of a circle and a line in 2d. The result may contain 0 to 2 points.

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

Syntax

C#
public static GeoPoint2D[] IntersectLC(
	GeoPoint2D pointofline,
	GeoVector2D direction,
	GeoPoint2D center,
	double radius
)
Visual Basic
Public Shared Function IntersectLC ( _
	pointofline As GeoPoint2D, _
	direction As GeoVector2D, _
	center As GeoPoint2D, _
	radius As Double _
) As GeoPoint2D()
Visual C++
public:
static array<GeoPoint2D>^ IntersectLC(
	GeoPoint2D pointofline, 
	GeoVector2D direction, 
	GeoPoint2D center, 
	double radius
)

Parameters

pointofline
Type: CADability..::..GeoPoint2D
direction
Type: CADability..::..GeoVector2D
center
Type: CADability..::..GeoPoint2D
center of the cricle
radius
Type: System..::..Double
radius of the circle

Return Value

intersctione points

See Also