IMathCrossingLineCircle Method

Calculates the crossing point of an line and an circle.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointD CrossingLineCircle(
	PointD CenterCircle,
	double Radius,
	PointD LineStart,
	PointD LineEnd
)

Parameters

CenterCircle  PointD
The middle of the circle.
Radius  Double
Radius of the circle.
LineStart  PointD
Start Point of the line.
LineEnd  PointD
Endpoint of the line.

Return Value

PointD
Crossing point of both.

See Also