SO3Engine
|
#include <SO3Point.h>
Public Member Functions | |
SPoint () | |
SPoint (const NUMERIC_TYPE &fX, const NUMERIC_TYPE &fY) | |
SPoint (const NUMERIC_TYPE &scaler) | |
SPoint (const NUMERIC_TYPE afCoordinate[2]) | |
SPoint (NUMERIC_TYPE *const r) | |
float | operator[] (const size_t &i) const |
float & | operator[] (const size_t &i) |
NUMERIC_TYPE * | ptr () |
const NUMERIC_TYPE * | ptr () const |
SPoint< NUMERIC_TYPE > & | operator= (const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > & | operator= (const float &fScalar) |
bool | operator== (const SPoint< NUMERIC_TYPE > ©Point) const |
bool | operator!= (const SPoint< NUMERIC_TYPE > ©Point) const |
SPoint< NUMERIC_TYPE > | operator+ (const SPoint< NUMERIC_TYPE > ©Point) const |
SPoint< NUMERIC_TYPE > | operator- (const SPoint< NUMERIC_TYPE > ©Point) const |
SPoint< NUMERIC_TYPE > | operator* (const NUMERIC_TYPE &fScalar) const |
SPoint< NUMERIC_TYPE > | operator* (const SPoint< NUMERIC_TYPE > &rhs) const |
SPoint< NUMERIC_TYPE > | operator/ (const float &fScalar) const |
SPoint< NUMERIC_TYPE > | operator/ (const SPoint< NUMERIC_TYPE > &rhs) const |
const SPoint< NUMERIC_TYPE > & | operator+ () const |
SPoint< NUMERIC_TYPE > | operator- () const |
SPoint< NUMERIC_TYPE > & | operator+= (const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > & | operator+= (const NUMERIC_TYPE &fScaler) |
SPoint< NUMERIC_TYPE > & | operator-= (const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > & | operator-= (const NUMERIC_TYPE &fScaler) |
SPoint< NUMERIC_TYPE > & | operator*= (const NUMERIC_TYPE &fScalar) |
SPoint< NUMERIC_TYPE > & | operator*= (const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > & | operator/= (const NUMERIC_TYPE &fScalar) |
SPoint< NUMERIC_TYPE > & | operator/= (const SPoint< NUMERIC_TYPE > ©Point) |
bool | operator< (const SPoint< NUMERIC_TYPE > &rhs) const |
bool | operator> (const SPoint< NUMERIC_TYPE > &rhs) const |
const SPoint< int > | ZERO (0, 0) |
const SPoint< int > | UNIT_X (1, 0) |
const SPoint< int > | UNIT_Y (0, 1) |
const SPoint< int > | NEGATIVE_UNIT_X (-1, 0) |
const SPoint< int > | NEGATIVE_UNIT_Y (0, -1) |
const SPoint< int > | UNIT_SCALE (1, 1) |
const SPoint< short > | ZERO (0, 0) |
const SPoint< short > | UNIT_X (1, 0) |
const SPoint< short > | UNIT_Y (0, 1) |
const SPoint< short > | NEGATIVE_UNIT_X (-1, 0) |
const SPoint< short > | NEGATIVE_UNIT_Y (0, -1) |
const SPoint< short > | UNIT_SCALE (1, 1) |
const SPoint< long > | ZERO (0, 0) |
const SPoint< long > | UNIT_X (1, 0) |
const SPoint< long > | UNIT_Y (0, 1) |
const SPoint< long > | NEGATIVE_UNIT_X (-1, 0) |
const SPoint< long > | NEGATIVE_UNIT_Y (0, -1) |
const SPoint< long > | UNIT_SCALE (1, 1) |
const SPoint< unsigned int > | ZERO (0, 0) |
const SPoint< unsigned int > | UNIT_X (1, 0) |
const SPoint< unsigned int > | UNIT_Y (0, 1) |
const SPoint< unsigned int > | UNIT_SCALE (1, 1) |
const SPoint< unsigned short > | ZERO (0, 0) |
const SPoint< unsigned short > | UNIT_X (1, 0) |
const SPoint< unsigned short > | UNIT_Y (0, 1) |
const SPoint< unsigned short > | UNIT_SCALE (1, 1) |
const SPoint< unsigned long > | ZERO (0, 0) |
const SPoint< unsigned long > | UNIT_X (1, 0) |
const SPoint< unsigned long > | UNIT_Y (0, 1) |
const SPoint< unsigned long > | UNIT_SCALE (1, 1) |
const SPoint< float > | ZERO (0.0f, 0.0f) |
const SPoint< float > | UNIT_X (1.0f, 0.0f) |
const SPoint< float > | UNIT_Y (0.0f, 1.0f) |
const SPoint< float > | NEGATIVE_UNIT_X (-1.0f, 0.0f) |
const SPoint< float > | NEGATIVE_UNIT_Y (0.0f, -1.0f) |
const SPoint< float > | UNIT_SCALE (1.0f, 1.0f) |
const SPoint< double > | ZERO (0.0, 0.0) |
const SPoint< double > | UNIT_X (1.0, 0.0) |
const SPoint< double > | UNIT_Y (0.0, 1.0) |
const SPoint< double > | NEGATIVE_UNIT_X (-1.0, 0.0) |
const SPoint< double > | NEGATIVE_UNIT_Y (0.0, -1.0) |
const SPoint< double > | UNIT_SCALE (1.0, 1.0) |
Public Attributes | |
NUMERIC_TYPE | x |
NUMERIC_TYPE | y |
Static Public Attributes | |
static const SPoint | ZERO |
static const SPoint | UNIT_X |
static const SPoint | UNIT_Y |
static const SPoint | NEGATIVE_UNIT_X |
static const SPoint | NEGATIVE_UNIT_Y |
static const SPoint | UNIT_SCALE |
Friends | |
SPoint< NUMERIC_TYPE > | operator* (const NUMERIC_TYPE &fScalar, const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > | operator/ (const NUMERIC_TYPE &fScalar, const SPoint< NUMERIC_TYPE > ©Point) |
SPoint< NUMERIC_TYPE > | operator+ (const SPoint< NUMERIC_TYPE > &lhs, const NUMERIC_TYPE rhs) |
SPoint< NUMERIC_TYPE > | operator+ (const NUMERIC_TYPE &lhs, const SPoint< NUMERIC_TYPE > &rhs) |
SPoint< NUMERIC_TYPE > | operator- (const SPoint< NUMERIC_TYPE > &lhs, const NUMERIC_TYPE &rhs) |
SPoint< NUMERIC_TYPE > | operator- (const NUMERIC_TYPE &lhs, const SPoint< NUMERIC_TYPE > &rhs) |
Point structure (or a 2-dimensional vector).
Definition at line 36 of file SO3Point.h.
|
inline |
Definition at line 48 of file SO3Point.h.
|
inline |
Definition at line 48 of file SO3Point.h.
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
const SPoint< int > SO3::SPoint< int >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
const SPoint< short > SO3::SPoint< short >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
const SPoint< long > SO3::SPoint< long >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
const SPoint< double > SO3::SPoint< double >::NEGATIVE_UNIT_X | ( | -1. | 0, |
0. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::NEGATIVE_UNIT_X | ( | -1. | 0f, |
0. | 0f | ||
) |
const SPoint< int > SO3::SPoint< int >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
const SPoint< short > SO3::SPoint< short >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
const SPoint< long > SO3::SPoint< long >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
const SPoint< double > SO3::SPoint< double >::NEGATIVE_UNIT_Y | ( | 0. | 0, |
-1. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::NEGATIVE_UNIT_Y | ( | 0. | 0f, |
-1. | 0f | ||
) |
|
inline |
Definition at line 126 of file SO3Point.h.
|
inline |
Definition at line 141 of file SO3Point.h.
|
inline |
Definition at line 146 of file SO3Point.h.
|
inline |
Definition at line 231 of file SO3Point.h.
|
inline |
Definition at line 238 of file SO3Point.h.
|
inline |
Definition at line 163 of file SO3Point.h.
|
inline |
Definition at line 131 of file SO3Point.h.
|
inline |
Definition at line 210 of file SO3Point.h.
|
inline |
Definition at line 203 of file SO3Point.h.
|
inline |
Definition at line 168 of file SO3Point.h.
|
inline |
Definition at line 136 of file SO3Point.h.
|
inline |
Definition at line 224 of file SO3Point.h.
|
inline |
Definition at line 217 of file SO3Point.h.
|
inline |
Definition at line 151 of file SO3Point.h.
|
inline |
Definition at line 158 of file SO3Point.h.
|
inline |
Definition at line 245 of file SO3Point.h.
|
inline |
Definition at line 254 of file SO3Point.h.
|
inline |
Returns true if the point's scalar components are all greater that the ones of the point it is compared against.
Definition at line 264 of file SO3Point.h.
|
inline |
Definition at line 114 of file SO3Point.h.
|
inline |
Assigns the value of the other point.
copyPoint | The other point |
Definition at line 107 of file SO3Point.h.
|
inline |
Definition at line 121 of file SO3Point.h.
|
inline |
Returns true if the point's scalar components are all smaller that the ones of the point it is compared against.
Definition at line 275 of file SO3Point.h.
|
inline |
Definition at line 81 of file SO3Point.h.
|
inline |
Definition at line 75 of file SO3Point.h.
|
inline |
Pointer accessor for direct copying
Definition at line 90 of file SO3Point.h.
|
inline |
Pointer accessor for direct copying
Definition at line 98 of file SO3Point.h.
const SPoint< int > SO3::SPoint< int >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< short > SO3::SPoint< short >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< long > SO3::SPoint< long >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
const SPoint< double > SO3::SPoint< double >::UNIT_SCALE | ( | 1. | 0, |
1. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::UNIT_SCALE | ( | 1. | 0f, |
1. | 0f | ||
) |
const SPoint< int > SO3::SPoint< int >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< short > SO3::SPoint< short >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< long > SO3::SPoint< long >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_X | ( | 1 | , |
0 | |||
) |
const SPoint< double > SO3::SPoint< double >::UNIT_X | ( | 1. | 0, |
0. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::UNIT_X | ( | 1. | 0f, |
0. | 0f | ||
) |
const SPoint< int > SO3::SPoint< int >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< short > SO3::SPoint< short >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< long > SO3::SPoint< long >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_Y | ( | 0 | , |
1 | |||
) |
const SPoint< double > SO3::SPoint< double >::UNIT_Y | ( | 0. | 0, |
1. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::UNIT_Y | ( | 0. | 0f, |
1. | 0f | ||
) |
const SPoint< int > SO3::SPoint< int >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< short > SO3::SPoint< short >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< long > SO3::SPoint< long >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< unsigned int > SO3::SPoint< unsignedint >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::ZERO | ( | 0 | , |
0 | |||
) |
const SPoint< double > SO3::SPoint< double >::ZERO | ( | 0. | 0, |
0. | 0 | ||
) |
const SPoint< float > SO3::SPoint< float >::ZERO | ( | 0. | 0f, |
0. | 0f | ||
) |
|
friend |
Definition at line 173 of file SO3Point.h.
|
friend |
Definition at line 188 of file SO3Point.h.
|
friend |
Definition at line 183 of file SO3Point.h.
|
friend |
Definition at line 198 of file SO3Point.h.
|
friend |
Definition at line 193 of file SO3Point.h.
|
friend |
Definition at line 178 of file SO3Point.h.
|
static |
Definition at line 46 of file SO3Point.h.
|
static |
Definition at line 47 of file SO3Point.h.
|
static |
Definition at line 48 of file SO3Point.h.
|
static |
Definition at line 44 of file SO3Point.h.
|
static |
Definition at line 45 of file SO3Point.h.
NUMERIC_TYPE SO3::SPoint< NUMERIC_TYPE >::x |
Definition at line 39 of file SO3Point.h.
NUMERIC_TYPE SO3::SPoint< NUMERIC_TYPE >::y |
Definition at line 40 of file SO3Point.h.
|
static |
Definition at line 43 of file SO3Point.h.