IStepGetDistanceBetweenNets Method
Calculate the distance of the edges between the net of NetNr1 and the net of NetNr2.
This methode is only for ODB-Data with netinformation!
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public float GetDistanceBetweenNets(
int NetNr1,
int NetNr2,
string LayerName,
out PointF From,
out PointF To
)
Public Function GetDistanceBetweenNets (
NetNr1 As Integer,
NetNr2 As Integer,
LayerName As String,
<OutAttribute> ByRef From As PointF,
<OutAttribute> ByRef To As PointF
) As Single
public:
virtual float GetDistanceBetweenNets(
int NetNr1,
int NetNr2,
String^ LayerName,
[OutAttribute] PointF% From,
[OutAttribute] PointF% To
) sealed
abstract GetDistanceBetweenNets :
NetNr1 : int *
NetNr2 : int *
LayerName : string *
From : PointF byref *
To : PointF byref -> float32
override GetDistanceBetweenNets :
NetNr1 : int *
NetNr2 : int *
LayerName : string *
From : PointF byref *
To : PointF byref -> float32
- 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
Singledistancelength
InterfaceStepGetDistanceBetweenNets(Int32, Int32, String, PointF, PointF)