public class LayerChannels
extends java.lang.Object
Constructor and Description |
---|
LayerChannels() |
Modifier and Type | Method and Description |
---|---|
void |
add(Channel ch) |
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.
|
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.
|
java.util.Collection<Channel> |
getChannels() |
int |
numChannels() |
java.lang.String |
toString() |
public void add(Channel ch)
public java.util.Collection<Channel> getChannels()
public Channel findChanOverVertInterval(double x, double y1, double y2)
public Channel findVertBridge(Channel horChan1, Channel horChan2, double x1, double x2)
public java.lang.String toString()
toString
in class java.lang.Object
public int numChannels()