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

java.lang.Object
  extended by com.sun.electric.tool.extract.LayerCoverageTool.GeometryOnNetwork
Enclosing class:
LayerCoverageTool

public static class LayerCoverageTool.GeometryOnNetwork
extends java.lang.Object

Class to represent all geometry on a network during layer coverage analysis.


Field Summary
 Cell cell
           
protected  java.util.Set<Network> nets
           
 
Constructor Summary
LayerCoverageTool.GeometryOnNetwork(Cell cell, java.util.Set<Network> nets, double lambda, boolean printable, Layer onlyThisLayer)
           
 
Method Summary
 boolean analyzeCoverage(java.awt.geom.Rectangle2D bbox, ErrorLogger errorLogger)
          Method to analyze amount of area covered by layer and if meets the minimum specified
 java.util.List<java.lang.Double> getAreas()
           
 java.util.List<java.lang.Double> getHalfPerimeters()
           
 java.util.List<Layer> getLayers()
           
 LayerCoverageTool.TransistorInfo getNActive()
           
 LayerCoverageTool.TransistorInfo getNGate()
           
 LayerCoverageTool.TransistorInfo getPActive()
           
 LayerCoverageTool.TransistorInfo getPGate()
           
 double getTotalWireLength()
           
 void print()
           
protected  void setTotalArea(double area)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

public final Cell cell

nets

protected java.util.Set<Network> nets
Constructor Detail

LayerCoverageTool.GeometryOnNetwork

public LayerCoverageTool.GeometryOnNetwork(Cell cell,
                                           java.util.Set<Network> nets,
                                           double lambda,
                                           boolean printable,
                                           Layer onlyThisLayer)
Method Detail

getTotalWireLength

public double getTotalWireLength()

setTotalArea

protected void setTotalArea(double area)

getPGate

public LayerCoverageTool.TransistorInfo getPGate()

getNGate

public LayerCoverageTool.TransistorInfo getNGate()

getPActive

public LayerCoverageTool.TransistorInfo getPActive()

getNActive

public LayerCoverageTool.TransistorInfo getNActive()

getLayers

public java.util.List<Layer> getLayers()

getAreas

public java.util.List<java.lang.Double> getAreas()

getHalfPerimeters

public java.util.List<java.lang.Double> getHalfPerimeters()

analyzeCoverage

public boolean analyzeCoverage(java.awt.geom.Rectangle2D bbox,
                               ErrorLogger errorLogger)
Method to analyze amount of area covered by layer and if meets the minimum specified

Parameters:
bbox -
errorLogger -
Returns:
true if no errors are found

print

public void print()