IMathDistancePointToEdge Method
Calculate the distance between a point and an edge.
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static double DistancePointToEdge(
PointD p,
IEdge e,
ref PointD eP
)
Public Shared Function DistancePointToEdge (
p As PointD,
e As IEdge,
ByRef eP As PointD
) As Double
public:
static double DistancePointToEdge(
PointD p,
IEdge^ e,
PointD% eP
)
static member DistancePointToEdge :
p : PointD *
e : IEdge *
eP : PointD byref -> float
- p PointD
- any PointD
- e IEdge
- the IEdge object
- eP PointD
- the point on the edge with the shortest way to the Point
DoubleDistance between p and eP