com.sun.electric.tool.extract
Class LayerCoverageTool.LayerVisitor

java.lang.Object
  extended by com.sun.electric.database.hierarchy.HierarchyEnumerator.Visitor
      extended by com.sun.electric.tool.extract.LayerCoverageTool.LayerVisitor
Enclosing class:
LayerCoverageTool

public static class LayerCoverageTool.LayerVisitor
extends HierarchyEnumerator.Visitor

LayerVisitor Class


Constructor Summary
LayerCoverageTool.LayerVisitor(Job job, GeometryHandler t, java.util.Set<NodeInst> delList, LayerCoverageTool.LCMode func, java.util.HashMap<Layer,java.util.Set<PolyBase>> original, java.util.Set<Network> netSet, java.awt.geom.Rectangle2D bBox, Layer onlyThisLayer, LayerCoverageTool.GeometryOnNetwork geoms)
           
 
Method Summary
 boolean enterCell(HierarchyEnumerator.CellInfo info)
          The HierarchyEnumerator is about to begin enumerating the contents of a new Cell instance.
 void exitCell(HierarchyEnumerator.CellInfo info)
          In case of non null bounding box, it will undo the transformation
 boolean visitNodeInst(Nodable no, HierarchyEnumerator.CellInfo info)
          The HierarchyEnumerator is visiting Nodable ni.
 
Methods inherited from class com.sun.electric.database.hierarchy.HierarchyEnumerator.Visitor
newCellInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerCoverageTool.LayerVisitor

public LayerCoverageTool.LayerVisitor(Job job,
                                      GeometryHandler t,
                                      java.util.Set<NodeInst> delList,
                                      LayerCoverageTool.LCMode func,
                                      java.util.HashMap<Layer,java.util.Set<PolyBase>> original,
                                      java.util.Set<Network> netSet,
                                      java.awt.geom.Rectangle2D bBox,
                                      Layer onlyThisLayer,
                                      LayerCoverageTool.GeometryOnNetwork geoms)
Method Detail

exitCell

public void exitCell(HierarchyEnumerator.CellInfo info)
In case of non null bounding box, it will undo the transformation

Specified by:
exitCell in class HierarchyEnumerator.Visitor
Parameters:
info -

enterCell

public boolean enterCell(HierarchyEnumerator.CellInfo info)
Description copied from class: HierarchyEnumerator.Visitor
The HierarchyEnumerator is about to begin enumerating the contents of a new Cell instance. That instance has just become the new "current" Cell instance.

Specified by:
enterCell in class HierarchyEnumerator.Visitor
Parameters:
info - information about the Cell instance being enumerated
Returns:
a boolean indicating if the HierarchyEnumerator should enumerate the contents of the current Cell. True means enumerate the current cell

visitNodeInst

public boolean visitNodeInst(Nodable no,
                             HierarchyEnumerator.CellInfo info)
Description copied from class: HierarchyEnumerator.Visitor
The HierarchyEnumerator is visiting Nodable ni.

Specified by:
visitNodeInst in class HierarchyEnumerator.Visitor
Parameters:
no -
info -
Returns:
true if node was visited