IEdgeDistance(IEdge, IEdge, PointD, PointD) Method
Calculates the Distance between two IEdges
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static double Distance(
IEdge e1,
IEdge e2,
out PointD p1,
out PointD p2
)
Public Shared Function Distance (
e1 As IEdge,
e2 As IEdge,
<OutAttribute> ByRef p1 As PointD,
<OutAttribute> ByRef p2 As PointD
) As Double
public:
static double Distance(
IEdge^ e1,
IEdge^ e2,
[OutAttribute] PointD% p1,
[OutAttribute] PointD% p2
)
static member Distance :
e1 : IEdge *
e2 : IEdge *
p1 : PointD byref *
p2 : PointD byref -> float
- e1 IEdge
- Edge No1
- e2 IEdge
- Edge No2
- p1 PointD
- Point on e1 with shortest distance
- p2 PointD
- Point on e2 with shortest distance
DoubleDistance (0 if intersecting)