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 lstart,
	GeoPoint2D lend,
	GeoPoint2D center,
	double radius
)
Visual Basic
Public Shared Function IntersectLC ( _
	lstart As GeoPoint2D, _
	lend As GeoPoint2D, _
	center As GeoPoint2D, _
	radius As Double _
) As GeoPoint2D()
Visual C++
public:
static array<GeoPoint2D>^ IntersectLC(
	GeoPoint2D lstart, 
	GeoPoint2D lend, 
	GeoPoint2D center, 
	double radius
)

Parameters

lstart
Type: CADability..::..GeoPoint2D
startpoint of the line
lend
Type: CADability..::..GeoPoint2D
endpoint of the line
center
Type: CADability..::..GeoPoint2D
center of the cricle
radius
Type: System..::..Double
radius of the circle

Return Value

intersctione points

See Also