IMathDistancePointToArc Method

Distance Point to arc calculates the distance from a point P to the arc edge Arc.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static double DistancePointToArc(
	PointD P,
	IArcEdge Arc,
	out PointD PonArc
)

Parameters

P  PointD
Relevant point for distance calculation.
Arc  IArcEdge
Relevant arc for distance calculation.
PonArc  PointD
Point on arc where the shortest distance is.

Return Value

Double
Distance value in mils.

See Also