OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
Rotate2D90 Class Reference

#include <transformations.hh>

Inherits Transformation.

Public Member Functions

 Rotate2D90 (int step)
- Public Member Functions inherited from Transformation
 Transformation ()
 Transformation (const Mat4 &tmat)
 Transformation (const Mat4 &tmat, const Mat4 &imat)
Mat4 & Matrix ()
const Mat4 & Matrix () const
Mat4 & InverseMatrix ()
const Mat4 & InverseMatrix () const
Point Apply (const Point &p)
Extent Apply (const Extent &e)

Additional Inherited Members

- Public Types inherited from Transformation
enum  SizeRule { ORIGINAL, FIT }
- Protected Attributes inherited from Transformation
Mat4 tmat_
Mat4 imat_

Detailed Description

rotate 90 degree CW in XY plane

Definition at line 43 of file transformations.hh.


Constructor & Destructor Documentation

Rotate2D90 ( int  step)

initialize amount of 90deg CW rotations

step parameter: 2 corresponds to a 180deg rotation, 3 to a 90deg CCW roation, 0 does nothing, all other values are wrapped to lie within the range 0-3 (e.g. -1 equals 3)


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