com.sun.electric.tool.generator.flag.router
Class LayerChannels
java.lang.Object
com.sun.electric.tool.generator.flag.router.LayerChannels
public class LayerChannels
- extends java.lang.Object
All the channels for one layer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LayerChannels
public LayerChannels()
add
public void add(Channel ch)
getChannels
public java.util.Collection<Channel> getChannels()
findChanOverVertInterval
public Channel findChanOverVertInterval(double x,
double y1,
double y2)
- For a horizontal layer, find a channel that covers a vertical pin
at x from y1 to y2.
findVertBridge
public Channel findVertBridge(Channel horChan1,
Channel horChan2,
double x1,
double x2)
- For a vertical layer, find a vertical channel between x1 and x2
that can connect the two horizontal channels: horChan1 and horChan2.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
numChannels
public int numChannels()