IStepGetDistanceBetweenGerberNets Method

Calculate the distance of the edges between the net of NetNr1 and the net of NetNr2.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public float GetDistanceBetweenGerberNets(
	int NetNr1,
	int NetNr2,
	string LayerName,
	out PointF From,
	out PointF To
)

Parameters

NetNr1  Int32
the first net
NetNr2  Int32
the second net
LayerName  String
it works only on one layer
From  PointF
start of the shortest distance
To  PointF
end of the shortest distance

Return Value

Single
distancelength

Implements

InterfaceStepGetDistanceBetweenGerberNets(Int32, Int32, String, PointF, PointF)

See Also