com.sun.electric.tool.io.output
Class EDIFEquiv.PortEquivalence

java.lang.Object
  extended by com.sun.electric.tool.io.output.EDIFEquiv.PortEquivalence
Enclosing class:
EDIFEquiv

public static class EDIFEquiv.PortEquivalence
extends java.lang.Object


Method Summary
 EDIFEquiv.Port getElecPort()
           
 EDIFEquiv.Port getExtPort()
           
 java.lang.String toString()
           
 java.awt.geom.Point2D translateElecToExt(java.awt.geom.Point2D point, java.awt.geom.AffineTransform niPureRotation)
          Translate the location of the electric port to the external port
 java.awt.geom.Point2D translateExtToElec(java.awt.geom.Point2D point, java.awt.geom.AffineTransform niPureRotation)
          Translate the location of the external port to the electric port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getElecPort

public EDIFEquiv.Port getElecPort()

getExtPort

public EDIFEquiv.Port getExtPort()

translateElecToExt

public java.awt.geom.Point2D translateElecToExt(java.awt.geom.Point2D point,
                                                java.awt.geom.AffineTransform niPureRotation)
Translate the location of the electric port to the external port

Parameters:
point - the location of the port in Electric.
Returns:
the location of the port in EDIF.

translateExtToElec

public java.awt.geom.Point2D translateExtToElec(java.awt.geom.Point2D point,
                                                java.awt.geom.AffineTransform niPureRotation)
Translate the location of the external port to the electric port

Parameters:
point - the location of the port in EDIF.
Returns:
the location of the port in Electric.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object