Hurricane VLSI Database


Hurricane::Transformation::Orientation Class Reference

Detailed Description

This enumeration defines the orientation associated to a transformation object.

Orientation codes and associated transformation matrix
Name
Aspect
Code
Signification
a
b
c
d
ID
0
Identity
1
0
0
1
R1
1
Simple rotation (90°)
0
-1
1
0
R2
2
Double rotation (180°)
-1
0
0
-1
R3
3
Triple rotation (270°)
0
1
-1
0
MX
4
Horizontal symetry (Mirror X)
-1
0
0
1
XR
5
Horizontal symetry followed by a 90° rotation
0
-1
-1
0
MY
6
Vertical symetry (Mirror Y)
1
0
0
-1
YR
7
Vertical symetry followed by a 90° rotation
0
1
1
0

The transformation formula is given by:

\‍[                  \Large
                  \left \{
                  \begin{array}{r c l l l l l}
                  x' & = & (a \times x) & + & (b \times y) & + & tx \\
                  y' & = & (c \times x) & + & (d \times y) & + & ty
                  \end{array}
                  \right .
\‍]

where x and y are the coordinates of any point, x' and y' the coordinates of the transformed point, tx and ty the horizontal and vertical components of the translation and where a, b, c and d are the coefficients of the matrix associated to the orientation.


The documentation for this class was generated from the following file:


Generated by doxygen 1.16.1 on Return to top of page
Hurricane VLSI Database Copyright © 2000-2020 Bull S.A. All rights reserved