Support Forum G3D Web Page |
Oriented angle measure on a compass; the difference of two CompassDirections. More...
Public Member Functions | |
CompassDelta (float degrees=0) | |
CompassDelta (const Any &a) | |
CompassDelta | abs () const |
float | compassDegrees () const |
The angle measure of this delta, in degrees on the compass. More... | |
bool | operator!= (CompassDelta c) const |
CompassDelta | operator* (float s) const |
CompassDelta & | operator*= (float s) |
CompassDelta | operator+ (CompassDelta c) const |
CompassDelta & | operator+= (CompassDelta c) |
CompassDelta | operator- (CompassDelta c) const |
CompassDelta | operator- () const |
CompassDelta & | operator-= (CompassDelta c) |
CompassDelta | operator/ (float s) const |
CompassDelta & | operator/= (float s) |
bool | operator< (CompassDelta c) const |
bool | operator<= (CompassDelta c) const |
bool | operator== (CompassDelta c) const |
bool | operator> (CompassDelta c) const |
bool | operator>= (CompassDelta c) const |
Any | toAny () const |
float | zxRadians () const |
The angle measure of this delta, in radians in the ZX plane (i.e., standard G3D yaw). More... | |
Protected Attributes | |
float | m_angleDegrees |
Friends | |
class | CompassDirection |
Oriented angle measure on a compass; the difference of two CompassDirections.
When relative to a heading, this is a bearing.
|
inlineexplicit |
Referenced by abs(), operator*(), operator+(), operator-(), and operator/().
G3D::CompassDelta::CompassDelta | ( | const Any & | a | ) |
|
inline |
|
inline |
The angle measure of this delta, in degrees on the compass.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Any G3D::CompassDelta::toAny | ( | ) | const |
|
inline |
The angle measure of this delta, in radians in the ZX plane (i.e., standard G3D yaw).
|
friend |
|
protected |
Referenced by abs(), compassDegrees(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), G3D::CompassDirection::operator+=(), operator-(), operator-=(), G3D::CompassDirection::operator-=(), operator/(), operator/=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and zxRadians().