com.sun.electric.technology
Class PrimitiveNode.AsymmetricNodeSizeRule

java.lang.Object
  extended by com.sun.electric.technology.PrimitiveNode.NodeSizeRule
      extended by com.sun.electric.technology.PrimitiveNode.AsymmetricNodeSizeRule
Enclosing class:
PrimitiveNode

public class PrimitiveNode.AsymmetricNodeSizeRule
extends PrimitiveNode.NodeSizeRule

Class to detect those asymmetric metal contacts in new technologies where witdh and height are different but they don't care about orientation


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.technology.PrimitiveNode.NodeSizeRule
PrimitiveNode.NodeSizeRule.NodeSizeRuleError
 
Field Summary
 
Fields inherited from class com.sun.electric.technology.PrimitiveNode.NodeSizeRule
ruleName
 
Method Summary
 java.util.List<PrimitiveNode.NodeSizeRule.NodeSizeRuleError> checkSize(PrimitiveNodeSize size)
          Methot to check whether the current NodeSize size meets original conditions provided by the technology.
 java.lang.String getRuleName()
           
 
Methods inherited from class com.sun.electric.technology.PrimitiveNode.NodeSizeRule
getHeight, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRuleName

public java.lang.String getRuleName()
Overrides:
getRuleName in class PrimitiveNode.NodeSizeRule

checkSize

public java.util.List<PrimitiveNode.NodeSizeRule.NodeSizeRuleError> checkSize(PrimitiveNodeSize size)
Methot to check whether the current NodeSize size meets original conditions provided by the technology. In this case, the min. rule value will be considered for the shortest side and the max. rule value for the longest side.

Overrides:
checkSize in class PrimitiveNode.NodeSizeRule
Parameters:
size -