roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::Rotation Class Reference

Rotation by angle in radians (clockwise). More...

#include <smooth_transformation.h>

Public Member Functions

 Rotation (float theta)
 
FpPoint apply (FpPoint p) const
 
float theta () const
 
float sin_theta () const
 
float cos_theta () const
 
Rotation then (IdentityTransformation t) const
 
AffineTransformation then (Translation t) const
 
AffineTransformation then (Scaling t) const
 
Rotation then (Rotation t) const
 
AffineTransformation then (AffineTransformation t) const
 
ProjectiveTransformation then (ProjectiveTransformation t) const
 
Rotation inversion () const
 
Box transformExtents (Box extents) const
 

Detailed Description

Rotation by angle in radians (clockwise).

Definition at line 190 of file smooth_transformation.h.

Constructor & Destructor Documentation

◆ Rotation()

roo_display::Rotation::Rotation ( float  theta)
inline

Definition at line 192 of file smooth_transformation.h.

Member Function Documentation

◆ apply()

FpPoint roo_display::Rotation::apply ( FpPoint  p) const
inline

Definition at line 195 of file smooth_transformation.h.

◆ cos_theta()

float roo_display::Rotation::cos_theta ( ) const
inline

Definition at line 202 of file smooth_transformation.h.

◆ inversion()

Rotation roo_display::Rotation::inversion ( ) const
inline

Definition at line 211 of file smooth_transformation.h.

◆ sin_theta()

float roo_display::Rotation::sin_theta ( ) const
inline

Definition at line 201 of file smooth_transformation.h.

◆ then() [1/6]

AffineTransformation roo_display::Rotation::then ( AffineTransformation  t) const

Definition at line 188 of file smooth_transformation.cpp.

◆ then() [2/6]

Rotation roo_display::Rotation::then ( IdentityTransformation  t) const
inline

Definition at line 204 of file smooth_transformation.h.

◆ then() [3/6]

ProjectiveTransformation roo_display::Rotation::then ( ProjectiveTransformation  t) const

◆ then() [4/6]

Rotation roo_display::Rotation::then ( Rotation  t) const

Definition at line 184 of file smooth_transformation.cpp.

◆ then() [5/6]

AffineTransformation roo_display::Rotation::then ( Scaling  t) const

Definition at line 179 of file smooth_transformation.cpp.

◆ then() [6/6]

AffineTransformation roo_display::Rotation::then ( Translation  t) const

Definition at line 174 of file smooth_transformation.cpp.

◆ theta()

float roo_display::Rotation::theta ( ) const
inline

Definition at line 200 of file smooth_transformation.h.

◆ transformExtents()

Box roo_display::Rotation::transformExtents ( Box  extents) const

Definition at line 170 of file smooth_transformation.cpp.


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