| 
    IMP Reference Guide
    2.23.0
    
   The Integrative Modeling Platform 
   | 
 
Represent a rotation in 2D space. More...
#include <IMP/algebra/Rotation2D.h>
 Inheritance diagram for IMP::algebra::Rotation2D:Represent a rotation in 2D space.
See geometric primitives for more information.
Definition at line 37 of file Rotation2D.h.
Public Member Functions | |
| Rotation2D (double angle) | |
| Build the matrix for the given angle.  More... | |
| double | get_angle () const | 
| Get the angle.  More... | |
| Rotation2D | get_inverse () const | 
| Return the matrix for the inverse rotation.  More... | |
| Vector2D | get_rotated (const Vector2D &o) const | 
| Rotate a 2D point.  More... | |
| Vector2D | get_rotated (const double x, const double y) const | 
| Rotate a 2D point.  More... | |
| void | set_angle (double angle) | 
| Set the angle for the rotation.  More... | |
| void | show (std::ostream &out=std::cout) const | 
| Print the angle.  More... | |
| IMP::algebra::Rotation2D::Rotation2D | ( | double | angle | ) | 
Build the matrix for the given angle.
Definition at line 42 of file Rotation2D.h.
| double IMP::algebra::Rotation2D::get_angle | ( | ) | const | 
Get the angle.
Definition at line 79 of file Rotation2D.h.
| Rotation2D IMP::algebra::Rotation2D::get_inverse | ( | ) | const | 
Return the matrix for the inverse rotation.
Definition at line 62 of file Rotation2D.h.
 Here is the call graph for this function:Rotate a 2D point.
| [in] | o | a 2D vector to be rotated | 
Definition at line 48 of file Rotation2D.h.
 Here is the call graph for this function:| Vector2D IMP::algebra::Rotation2D::get_rotated | ( | const double | x, | 
| const double | y | ||
| ) | const | 
Rotate a 2D point.
Definition at line 55 of file Rotation2D.h.
 Here is the call graph for this function:| void IMP::algebra::Rotation2D::set_angle | ( | double | angle | ) | 
Set the angle for the rotation.
| [in] | angle | the angle | 
Definition at line 72 of file Rotation2D.h.
| void IMP::algebra::Rotation2D::show | ( | std::ostream & | out = std::cout | ) | const | 
Print the angle.