IPolyClassDistanceTo(IPolyClass, PointD, PointD) Method

Calculate distance from this polygon to second polygon.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public double DistanceTo(
	IPolyClass SecondPoly,
	ref PointD From,
	ref PointD To
)

Parameters

SecondPoly  IPolyClass
Polygon to calculate distance.
From  PointD
Point from this polygon.
To  PointD
Point to second polygon.

Return Value

Double
Distance in mils.

Implements

InterfacePolyClassDistanceTo(IPolyClass, PointD, PointD)

See Also