public static class RoutingFrame.RoutingLayer
extends java.lang.Object
Constructor and Description |
---|
RoutingFrame.RoutingLayer(Layer layer,
ArcProto ap,
EditingPreferences ep,
double minWidth,
double maxSurround)
Method to create a RoutingLayer object.
|
Modifier and Type | Method and Description |
---|---|
double |
getMaxSurround()
Method to return the maximum DRC surround for this RoutingLayer.
|
int |
getMetalNumber()
Method to return the metal layer number of this RoutingLayer.
|
double |
getMinSpacing(RoutingFrame.RoutingLayer other)
Method to return the minimum spacing between this and another
RoutingLayer.
|
double |
getMinWidth()
Method to return the minimum width of wires on this RoutingLayer.
|
java.lang.String |
getName()
Method to return the name of this RoutingLayer.
|
RoutingFrame.RoutingContact |
getPin()
Method to return the proper RoutingContact to use when joining two of
these layers.
|
boolean |
isMetal()
Method to tell whether this layer is metal or via.
|
public RoutingFrame.RoutingLayer(Layer layer, ArcProto ap, EditingPreferences ep, double minWidth, double maxSurround)
layer
- the Electric Layer associated with this RoutingLayer.ap
- the Electric ArcProto associated with this RoutingLayer
(only valid for via layers).ep
- EditingPreferences with default sizesminWidth
- the minimum width of wires on this RoutingLayer (only
valid for via layers).maxSurround
- the maximum DRC rule around this RoutingLayer.public java.lang.String getName()
public boolean isMetal()
public int getMetalNumber()
public RoutingFrame.RoutingContact getPin()
public double getMinWidth()
public double getMaxSurround()
public double getMinSpacing(RoutingFrame.RoutingLayer other)
other
- the other RoutingLayer.