CubbyFlow::Orientation< 2 > Class Template Reference

#include <Core/Geometry/Transform.hpp>

Public Member Functions

 Orientation ()
 
 Orientation (double angleInRadian)
 
double GetRotation () const
 
void SetRotation (double angleInRadian)
 
Vector2D ToLocal (const Vector2D &pointInWorld) const
 Rotates a point in world coordinate to the local frame. More...
 
Vector2D ToWorld (const Vector2D &pointInLocal) const
 Rotates a point in local space to the world coordinate. More...
 

Constructor & Destructor Documentation

◆ Orientation() [1/2]

◆ Orientation() [2/2]

CubbyFlow::Orientation< 2 >::Orientation ( double  angleInRadian)

Member Function Documentation

◆ GetRotation()

double CubbyFlow::Orientation< 2 >::GetRotation ( ) const

◆ SetRotation()

void CubbyFlow::Orientation< 2 >::SetRotation ( double  angleInRadian)

◆ ToLocal()

Vector2D CubbyFlow::Orientation< 2 >::ToLocal ( const Vector2D pointInWorld) const

Rotates a point in world coordinate to the local frame.

◆ ToWorld()

Vector2D CubbyFlow::Orientation< 2 >::ToWorld ( const Vector2D pointInLocal) const

Rotates a point in local space to the world coordinate.


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