IMathGetIntersectingPoints Method

Calculate intersecting points of two circles.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointD[] GetIntersectingPoints(
	PointD centerA,
	double radiusA,
	PointD centerB,
	double radiusB
)

Parameters

centerA  PointD
The center of the first circle.
radiusA  Double
Radius of the first circle.
centerB  PointD
The center of the second circle.
radiusB  Double
Radius of the second circle.

Return Value

PointD
One or two points, if infinity point is the result it means there is no intersecting point!

See Also