com.sun.electric.technology
Class Technology.MultiCutData

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

public static class Technology.MultiCutData
extends java.lang.Object

Class MultiCutData determines the locations of cuts in a multi-cut contact node.


Constructor Summary
Technology.MultiCutData(ImmutableNodeInst niD, TechPool techPool)
          Constructor to initialize for multiple cuts.
 
Method Summary
 Poly fillCutPoly(EPoint anchor, int cut)
          Method to fill in the contact cuts based on anchor information.
protected  Poly fillCutPoly(ImmutableNodeInst ni, int cut)
          Method to fill in the contact cuts of a contact when there are multiple cuts.
 double getCutSizeX()
          Method to return the size of the cut along X.
 double getCutSizeY()
          Method to return the size of the cut along Y.
 int numCuts()
          Method to return the number of cuts in the contact node.
 int numCutsX()
          Method to return the number of cuts along X axis in the contact node.
 int numCutsY()
          Method to return the number of cuts along Y axis in the contact node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Technology.MultiCutData

public Technology.MultiCutData(ImmutableNodeInst niD,
                               TechPool techPool)
Constructor to initialize for multiple cuts.

Parameters:
niD - the NodeInst with multiple cuts.
Method Detail

numCuts

public int numCuts()
Method to return the number of cuts in the contact node.

Returns:
the number of cuts in the contact node.

numCutsX

public int numCutsX()
Method to return the number of cuts along X axis in the contact node.

Returns:
the number of cuts in the contact node along X axis.

numCutsY

public int numCutsY()
Method to return the number of cuts along Y axis in the contact node.

Returns:
the number of cuts in the contact node along Y axis.

getCutSizeX

public double getCutSizeX()
Method to return the size of the cut along X.


getCutSizeY

public double getCutSizeY()
Method to return the size of the cut along Y.


fillCutPoly

protected Poly fillCutPoly(ImmutableNodeInst ni,
                           int cut)
Method to fill in the contact cuts of a contact when there are multiple cuts. Node is in "ni" and the contact cut number (0 based) is in "cut".


fillCutPoly

public Poly fillCutPoly(EPoint anchor,
                        int cut)
Method to fill in the contact cuts based on anchor information.