public class Wiring
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
REPORTING |
Constructor and Description |
---|
Wiring() |
Modifier and Type | Method and Description |
---|---|
static void |
connect(RoutingFrame.RoutingSegment rs,
RoutingFrame.RoutePoint rp1,
RoutingFrame.RoutePoint rp2)
Connect two route points.
|
static RoutingFrame.RoutePoint[] |
connect(RoutingFrame.RoutingSegment rs,
Tupel tA,
Tupel tB)
Connect two tupels.
|
static void |
connect(RoutingPart rp,
java.util.List<Tupel> edgePoints)
Create wires between a list of tupels that symbolize the route of the given routing part.
|
static void |
connect(RoutingPart rp,
java.util.List<Tupel> edgePoints,
boolean reversed)
this method is used for multiterminal routing (not yet functional)
for now it will always call connect
|
static RoutingFrame.RoutePoint[] |
getRoutePoints(Tupel tA,
Tupel tB)
Place route points at the location given by the two tupels.
|
static void |
init(java.util.List<RoutingFrame.RoutingLayer> layers,
java.util.HashMap<java.lang.String,java.lang.Integer> map,
java.util.List<RoutingFrame.RoutingContact> allContacts,
boolean output) |
protected static final boolean REPORTING
public static void init(java.util.List<RoutingFrame.RoutingLayer> layers, java.util.HashMap<java.lang.String,java.lang.Integer> map, java.util.List<RoutingFrame.RoutingContact> allContacts, boolean output)
public static RoutingFrame.RoutePoint[] connect(RoutingFrame.RoutingSegment rs, Tupel tA, Tupel tB)
rs
- RoutingSegment where wire should be createdtA
- first tupeltB
- second tupelpublic static void connect(RoutingFrame.RoutingSegment rs, RoutingFrame.RoutePoint rp1, RoutingFrame.RoutePoint rp2)
rs
- routing segment where wire is createdrp1
- first route pointrp2
- second route pointpublic static RoutingFrame.RoutePoint[] getRoutePoints(Tupel tA, Tupel tB)
tA
- first tupeltB
- second tupelpublic static void connect(RoutingPart rp, java.util.List<Tupel> edgePoints)
rp
- RoutingPartedgePoints
- list of tupels that build the routepublic static void connect(RoutingPart rp, java.util.List<Tupel> edgePoints, boolean reversed)
rp
- edgePoints
- reversed
-