IEdgeDistance(IEdge, IEdge, PointD, PointD) Method

Calculates the Distance between two IEdges

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static double Distance(
	IEdge e1,
	IEdge e2,
	out PointD p1,
	out PointD p2
)

Parameters

e1  IEdge
Edge No1
e2  IEdge
Edge No2
p1  PointD
Point on e1 with shortest distance
p2  PointD
Point on e2 with shortest distance

Return Value

Double
Distance (0 if intersecting)

See Also