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) |
Detailed Description
class SO3::SPoint< NUMERIC_TYPE >
Point structure (or a 2-dimensional vector).
Definition at line 36 of file SO3Point.h.
Constructor & Destructor Documentation
◆ SPoint() [1/5]
|
inline |
Definition at line 48 of file SO3Point.h.
◆ SPoint() [2/5]
|
inline |
Definition at line 48 of file SO3Point.h.
◆ SPoint() [3/5]
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
◆ SPoint() [4/5]
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
◆ SPoint() [5/5]
|
inlineexplicit |
Definition at line 48 of file SO3Point.h.
Member Function Documentation
◆ NEGATIVE_UNIT_X() [1/5]
const SPoint< int > SO3::SPoint< int >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
◆ NEGATIVE_UNIT_X() [2/5]
const SPoint< short > SO3::SPoint< short >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
◆ NEGATIVE_UNIT_X() [3/5]
const SPoint< long > SO3::SPoint< long >::NEGATIVE_UNIT_X | ( | - | 1, |
0 | |||
) |
◆ NEGATIVE_UNIT_X() [4/5]
const SPoint< double > SO3::SPoint< double >::NEGATIVE_UNIT_X | ( | -1. | 0, |
0. | 0 | ||
) |
◆ NEGATIVE_UNIT_X() [5/5]
const SPoint< float > SO3::SPoint< float >::NEGATIVE_UNIT_X | ( | -1. | 0f, |
0. | 0f | ||
) |
◆ NEGATIVE_UNIT_Y() [1/5]
const SPoint< int > SO3::SPoint< int >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
◆ NEGATIVE_UNIT_Y() [2/5]
const SPoint< short > SO3::SPoint< short >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
◆ NEGATIVE_UNIT_Y() [3/5]
const SPoint< long > SO3::SPoint< long >::NEGATIVE_UNIT_Y | ( | 0 | , |
- | 1 | ||
) |
◆ NEGATIVE_UNIT_Y() [4/5]
const SPoint< double > SO3::SPoint< double >::NEGATIVE_UNIT_Y | ( | 0. | 0, |
-1. | 0 | ||
) |
◆ NEGATIVE_UNIT_Y() [5/5]
const SPoint< float > SO3::SPoint< float >::NEGATIVE_UNIT_Y | ( | 0. | 0f, |
-1. | 0f | ||
) |
◆ operator!=()
|
inline |
Definition at line 126 of file SO3Point.h.
◆ operator*() [1/2]
|
inline |
Definition at line 141 of file SO3Point.h.
◆ operator*() [2/2]
|
inline |
Definition at line 146 of file SO3Point.h.
◆ operator*=() [1/2]
|
inline |
Definition at line 231 of file SO3Point.h.
◆ operator*=() [2/2]
|
inline |
Definition at line 238 of file SO3Point.h.
◆ operator+() [1/2]
|
inline |
Definition at line 163 of file SO3Point.h.
◆ operator+() [2/2]
|
inline |
Definition at line 131 of file SO3Point.h.
◆ operator+=() [1/2]
|
inline |
Definition at line 210 of file SO3Point.h.
◆ operator+=() [2/2]
|
inline |
Definition at line 203 of file SO3Point.h.
◆ operator-() [1/2]
|
inline |
Definition at line 168 of file SO3Point.h.
◆ operator-() [2/2]
|
inline |
Definition at line 136 of file SO3Point.h.
◆ operator-=() [1/2]
|
inline |
Definition at line 224 of file SO3Point.h.
◆ operator-=() [2/2]
|
inline |
Definition at line 217 of file SO3Point.h.
◆ operator/() [1/2]
|
inline |
Definition at line 151 of file SO3Point.h.
◆ operator/() [2/2]
|
inline |
Definition at line 158 of file SO3Point.h.
◆ operator/=() [1/2]
|
inline |
Definition at line 245 of file SO3Point.h.
◆ operator/=() [2/2]
|
inline |
Definition at line 254 of file SO3Point.h.
◆ operator<()
|
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.
◆ operator=() [1/2]
|
inline |
Definition at line 114 of file SO3Point.h.
◆ operator=() [2/2]
|
inline |
Assigns the value of the other point.
- Parameters
-
copyPoint The other point
Definition at line 107 of file SO3Point.h.
◆ operator==()
|
inline |
Definition at line 121 of file SO3Point.h.
◆ operator>()
|
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.
◆ operator[]() [1/2]
|
inline |
Definition at line 81 of file SO3Point.h.
◆ operator[]() [2/2]
|
inline |
Definition at line 75 of file SO3Point.h.
◆ ptr() [1/2]
|
inline |
Pointer accessor for direct copying
Definition at line 90 of file SO3Point.h.
◆ ptr() [2/2]
|
inline |
Pointer accessor for direct copying
Definition at line 98 of file SO3Point.h.
◆ UNIT_SCALE() [1/8]
const SPoint< int > SO3::SPoint< int >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [2/8]
const SPoint< short > SO3::SPoint< short >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [3/8]
const SPoint< long > SO3::SPoint< long >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [4/8]
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [5/8]
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [6/8]
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_SCALE | ( | 1 | , |
1 | |||
) |
◆ UNIT_SCALE() [7/8]
const SPoint< double > SO3::SPoint< double >::UNIT_SCALE | ( | 1. | 0, |
1. | 0 | ||
) |
◆ UNIT_SCALE() [8/8]
const SPoint< float > SO3::SPoint< float >::UNIT_SCALE | ( | 1. | 0f, |
1. | 0f | ||
) |
◆ UNIT_X() [1/8]
const SPoint< int > SO3::SPoint< int >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [2/8]
const SPoint< short > SO3::SPoint< short >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [3/8]
const SPoint< long > SO3::SPoint< long >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [4/8]
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [5/8]
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [6/8]
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_X | ( | 1 | , |
0 | |||
) |
◆ UNIT_X() [7/8]
const SPoint< double > SO3::SPoint< double >::UNIT_X | ( | 1. | 0, |
0. | 0 | ||
) |
◆ UNIT_X() [8/8]
const SPoint< float > SO3::SPoint< float >::UNIT_X | ( | 1. | 0f, |
0. | 0f | ||
) |
◆ UNIT_Y() [1/8]
const SPoint< int > SO3::SPoint< int >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [2/8]
const SPoint< short > SO3::SPoint< short >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [3/8]
const SPoint< long > SO3::SPoint< long >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [4/8]
const SPoint< unsigned int > SO3::SPoint< unsignedint >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [5/8]
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [6/8]
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::UNIT_Y | ( | 0 | , |
1 | |||
) |
◆ UNIT_Y() [7/8]
const SPoint< double > SO3::SPoint< double >::UNIT_Y | ( | 0. | 0, |
1. | 0 | ||
) |
◆ UNIT_Y() [8/8]
const SPoint< float > SO3::SPoint< float >::UNIT_Y | ( | 0. | 0f, |
1. | 0f | ||
) |
◆ ZERO() [1/8]
const SPoint< int > SO3::SPoint< int >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [2/8]
const SPoint< short > SO3::SPoint< short >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [3/8]
const SPoint< long > SO3::SPoint< long >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [4/8]
const SPoint< unsigned int > SO3::SPoint< unsignedint >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [5/8]
const SPoint< unsigned short > SO3::SPoint< unsignedshort >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [6/8]
const SPoint< unsigned long > SO3::SPoint< unsignedlong >::ZERO | ( | 0 | , |
0 | |||
) |
◆ ZERO() [7/8]
const SPoint< double > SO3::SPoint< double >::ZERO | ( | 0. | 0, |
0. | 0 | ||
) |
◆ ZERO() [8/8]
const SPoint< float > SO3::SPoint< float >::ZERO | ( | 0. | 0f, |
0. | 0f | ||
) |
Friends And Related Symbol Documentation
◆ operator*
|
friend |
Definition at line 173 of file SO3Point.h.
◆ operator+ [1/2]
|
friend |
Definition at line 188 of file SO3Point.h.
◆ operator+ [2/2]
|
friend |
Definition at line 183 of file SO3Point.h.
◆ operator- [1/2]
|
friend |
Definition at line 198 of file SO3Point.h.
◆ operator- [2/2]
|
friend |
Definition at line 193 of file SO3Point.h.
◆ operator/
|
friend |
Definition at line 178 of file SO3Point.h.
Member Data Documentation
◆ NEGATIVE_UNIT_X
|
static |
Definition at line 46 of file SO3Point.h.
◆ NEGATIVE_UNIT_Y
|
static |
Definition at line 47 of file SO3Point.h.
◆ UNIT_SCALE
|
static |
Definition at line 48 of file SO3Point.h.
◆ UNIT_X
|
static |
Definition at line 44 of file SO3Point.h.
◆ UNIT_Y
|
static |
Definition at line 45 of file SO3Point.h.
◆ x
NUMERIC_TYPE SO3::SPoint< NUMERIC_TYPE >::x |
Definition at line 39 of file SO3Point.h.
◆ y
NUMERIC_TYPE SO3::SPoint< NUMERIC_TYPE >::y |
Definition at line 40 of file SO3Point.h.
◆ ZERO
|
static |
Definition at line 43 of file SO3Point.h.
The documentation for this class was generated from the following files:
- include/SCOLBasic/SO3Prerequisites.h
- include/SO3Utils/SO3Point.h
Generated by 1.9.8