com.sun.electric.technology
Class AbstractShapeBuilder.Shrinkage

java.lang.Object
  extended by com.sun.electric.technology.AbstractShapeBuilder.Shrinkage
Enclosing class:
AbstractShapeBuilder

public static class AbstractShapeBuilder.Shrinkage
extends java.lang.Object


Field Summary
static short EXTEND_0
           
static short EXTEND_90
           
 
Constructor Summary
AbstractShapeBuilder.Shrinkage()
           
AbstractShapeBuilder.Shrinkage(CellBackup cellBackup)
           
 
Method Summary
 short get(int nodeId)
          Method to tell the "end shrink" factors on all arcs on a specified ImmutableNodeInst.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTEND_90

public static final short EXTEND_90
See Also:
Constant Field Values

EXTEND_0

public static final short EXTEND_0
See Also:
Constant Field Values
Constructor Detail

AbstractShapeBuilder.Shrinkage

public AbstractShapeBuilder.Shrinkage()

AbstractShapeBuilder.Shrinkage

public AbstractShapeBuilder.Shrinkage(CellBackup cellBackup)
Method Detail

get

public short get(int nodeId)
Method to tell the "end shrink" factors on all arcs on a specified ImmutableNodeInst. EXTEND_90 indicates no shortening (extend the arc by half its width). EXTEND_0 indicates no extend. EXTEND_ANY + [0..3600) is a sum of arc angles modulo 3600 if this ImmutableNodeInst is a pin which can "isArcsShrink" and this pin connects exactly two arcs whit extended ends and angle between arcs is accute.

Parameters:
nodeId - nodeId of specified ImmutableNodeInst
Returns:
shrink factor of specified ImmutableNodeInst is wiped.