Click or drag to resize

MathRoutinesCalcTwoCirclesIntersections Method

LightningChart .NET Help
Calculates intersection point(-s) of two circles.

Namespace:  Arction.WinForms.Charting
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static int CalcTwoCirclesIntersections(
	PointFloat center0,
	float radius0,
	PointFloat center1,
	float radius1,
	out PointFloat intersection1,
	out PointFloat intersection2
)

Parameters

center0
Type: PointFloat
Center of the first circle.
radius0
Type: SystemSingle
Radius of the first circle.
center1
Type: PointFloat
Center of the second circle.
radius1
Type: SystemSingle
Radius of the second circle.
intersection1
Type: PointFloat
Intersection point output.
intersection2
Type: PointFloat
Intersection point output.

Return Value

Type: Int32
Success status returns 1 or 2. Returns 0 if could not solve the intersection.
See Also