# Hurricane Documentation

# Hurricane VLSI Database

List of all members
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:

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:

- Transformation.h