com.sun.electric.technology
Class BoundsBuilder
java.lang.Object
com.sun.electric.technology.AbstractShapeBuilder
com.sun.electric.technology.BoundsBuilder
public class BoundsBuilder
- extends AbstractShapeBuilder
A support class to build shapes of arcs and nodes.
Methods inherited from class com.sun.electric.technology.AbstractShapeBuilder |
computeExtension, curvedArcGridOutline, genShapeEasy, genShapeOfArc, getMemoization, getOnlyTheseLayers, getShrinkage, getTechPool, makeGridPoly, pushBox, pushPoint, pushPoint, pushPoint, pushPoly, setElectrical, setOnlyTheseLayers, setReasonable, setup, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundsBuilder
public BoundsBuilder(Cell cell)
BoundsBuilder
public BoundsBuilder(CellBackup cellBackup)
clear
public void clear()
genBoundsEasy
public boolean genBoundsEasy(ImmutableArcInst a,
int[] intCoords)
- Generate bounds of this ImmutableArcInst in easy case.
- Parameters:
a
- ImmutableArcInst to examine.intCoords
- integer coords to fill.
- Returns:
- true if bounds were generated.
makeBounds
public ERectangle makeBounds()
makeBounds
public boolean makeBounds(java.awt.geom.Rectangle2D.Double visBounds)
addDoublePoly
public void addDoublePoly(int numPoints,
Poly.Type style,
Layer layer)
- Specified by:
addDoublePoly
in class AbstractShapeBuilder
addIntLine
public void addIntLine(int[] coords,
Poly.Type style,
Layer layer)
- Specified by:
addIntLine
in class AbstractShapeBuilder
addIntBox
public void addIntBox(int[] coords,
Layer layer)
- Specified by:
addIntBox
in class AbstractShapeBuilder