Ravelin
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ROT2 Class Reference

Represents an orientation in 2D. More...

#include <Rot2.h>

Public Member Functions

 ROT2 (REAL theta)
 
 ROT2 (const ROT2 &q)
 
ROT2set_identity ()
 
ROT2set_zero ()
 
ROT2invert ()
 
ROT2 inverse () const
 
ROT2operator= (const ROT2 &q)
 
ROT2 operator* (const ROT2 &q) const
 
ROT2 operator/ (const ROT2 &q) const
 
ROT2 operator* (REAL scalar) const
 
ROT2 operator/ (REAL scalar) const
 
ROT2operator*= (const ROT2 &q)
 
ROT2operator*= (REAL scalar)
 
ROT2operator/= (REAL scalar)
 
ORIGIN2 operator* (const ORIGIN2 &o) const
 
VECTOR2 operator* (const VECTOR2 &o) const
 

Static Public Member Functions

static ROT2 zero ()
 
static ROT2 identity ()
 
static ROT2 invert (const ROT2 &r)
 

Public Attributes

REAL theta
 angle of rotation
 

Detailed Description

Represents an orientation in 2D.


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