com.sun.electric.technology
Class Technology.ArcLayer

java.lang.Object
  extended by com.sun.electric.technology.Technology.ArcLayer
Enclosing class:
Technology

protected static class Technology.ArcLayer
extends java.lang.Object

Defines a single layer of a ArcProto. A ArcProto has a list of these ArcLayer objects, one for each layer in a typical ArcInst. Each ArcProto is composed of a number of ArcLayer descriptors. A descriptor converts a specific ArcInst into a polygon that describe this particular layer.


Constructor Summary
Technology.ArcLayer(Layer layer, double arcLayerWidth, Poly.Type style)
          Constructs an ArcLayer with the specified description.
Technology.ArcLayer(Layer layer, Poly.Type style, double lambdaExtend)
          Constructs an ArcLayer with the specified description.
 
Method Summary
 int getGridExtend()
          Returns the distance from the center of the standard ArcInst to the outsize of this ArcLayer in grid units.
 Layer getLayer()
          Returns the Layer from the Technology to be used for this ArcLayer.
 Poly.Type getStyle()
          Returns the Poly.Style of this ArcLayer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Technology.ArcLayer

public Technology.ArcLayer(Layer layer,
                           double arcLayerWidth,
                           Poly.Type style)
Constructs an ArcLayer with the specified description.

Parameters:
layer - the Layer of this ArcLayer.
arcLayerWidth - the width of this ArcLayer in standard ArcInst.
style - the Poly.Style of this ArcLayer.

Technology.ArcLayer

public Technology.ArcLayer(Layer layer,
                           Poly.Type style,
                           double lambdaExtend)
Constructs an ArcLayer with the specified description.

Parameters:
layer - the Layer of this ArcLayer.
style - the Poly.Style of this ArcLayer.
lambdaExtend - lambda fraction of extend
Method Detail

getLayer

public Layer getLayer()
Returns the Layer from the Technology to be used for this ArcLayer.

Returns:
the Layer from the Technology to be used for this ArcLayer.

getGridExtend

public int getGridExtend()
Returns the distance from the center of the standard ArcInst to the outsize of this ArcLayer in grid units. The distance from the center of arbitrary ArcInst ai to the outsize of its ArcLayer is ai.getD().getExtendOverMin() + arcLayer.getGridExtend()

Returns:
the distance from the outside of the ArcInst to this ArcLayer in grid units.

getStyle

public Poly.Type getStyle()
Returns the Poly.Style of this ArcLayer.

Returns:
the Poly.Style of this ArcLayer.