IMathDistancePointToArc Method
Distance Point to arc calculates the distance from a point P to the arc edge Arc.
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static double DistancePointToArc(
PointD P,
IArcEdge Arc,
out PointD PonArc
)
Public Shared Function DistancePointToArc (
P As PointD,
Arc As IArcEdge,
<OutAttribute> ByRef PonArc As PointD
) As Double
public:
static double DistancePointToArc(
PointD P,
IArcEdge^ Arc,
[OutAttribute] PointD% PonArc
)
static member DistancePointToArc :
P : PointD *
Arc : IArcEdge *
PonArc : PointD byref -> float
- P PointD
- Relevant point for distance calculation.
- Arc IArcEdge
- Relevant arc for distance calculation.
- PonArc PointD
- Point on arc where the shortest distance is.
DoubleDistance value in mils.