IMathDistanceEdgeToEdge Method
Calculate the distance between two edges.
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static double DistanceEdgeToEdge(
IEdge Edge1,
IEdge Edge2,
ref PointD From,
ref PointD To
)
Public Shared Function DistanceEdgeToEdge (
Edge1 As IEdge,
Edge2 As IEdge,
ByRef From As PointD,
ByRef To As PointD
) As Double
public:
static double DistanceEdgeToEdge(
IEdge^ Edge1,
IEdge^ Edge2,
PointD% From,
PointD% To
)
static member DistanceEdgeToEdge :
Edge1 : IEdge *
Edge2 : IEdge *
From : PointD byref *
To : PointD byref -> float
- Edge1 IEdge
- first edge, can be arc or line
- Edge2 IEdge
- second edge, can be arc or line
- From PointD
- the start point of shortest way between the two edges
- To PointD
- end point of shortest way
Doubledistance between from and to