xmscore
1.0
|
4D point template class More...
#include <pt.h>
Public Member Functions | |
Pt4 () | |
Pt4 (T a_x, T a_y, T a_z, T a_w) | |
constructor More... | |
Pt4 (T a) | |
constructor More... | |
Pt4 (const Pt4 &a) | |
template<class U > | |
Pt4 (const Pt2< U > &a) | |
constructor. (Pt4<T>) Pt2<U> More... | |
template<class U > | |
Pt4 (const Pt3< U > &a) | |
constructor. (Pt4<T>) Pt3<U> More... | |
template<class U > | |
Pt4 (const Pt4< U > &a) | |
constructor. (Pt4<T>) Pt4<U> More... | |
~Pt4 () | |
Destructor. can't be virtual. | |
template<class U > | |
const Pt4 & | operator= (const U &a) |
template<class U > | |
const Pt4 & | operator= (const Pt2< U > &a) |
template<class U > | |
const Pt4 & | operator= (const Pt3< U > &a) |
template<class U > | |
const Pt4 & | operator= (const Pt4< U > &a) |
template<class U > | |
bool | operator== (const U &a) const |
template<class U > | |
bool | operator== (const Pt2< U > &a) const |
template<class U > | |
bool | operator== (const Pt3< U > &a) const |
template<class U > | |
bool | operator== (const Pt4< U > &a) const |
template<class U > | |
bool | operator!= (const U &a) const |
template<class U > | |
bool | operator!= (const Pt2< U > &a) const |
template<class U > | |
bool | operator!= (const Pt3< U > &a) const |
template<class U > | |
bool | operator!= (const Pt4< U > &a) const |
template<class U > | |
bool | operator< (const U &a) const |
template<class U > | |
bool | operator< (const Pt2< U > &a) const |
template<class U > | |
bool | operator< (const Pt3< U > &a) const |
template<class U > | |
bool | operator< (const Pt4< U > &a) const |
template<class U > | |
bool | operator<= (const U &a) const |
template<class U > | |
bool | operator<= (const Pt2< U > &a) const |
template<class U > | |
bool | operator<= (const Pt3< U > &a) const |
template<class U > | |
bool | operator<= (const Pt4< U > &a) const |
template<class U > | |
bool | operator> (const U &a) const |
template<class U > | |
bool | operator> (const Pt2< U > &a) const |
template<class U > | |
bool | operator> (const Pt3< U > &a) const |
template<class U > | |
bool | operator> (const Pt4< U > &a) const |
template<class U > | |
bool | operator>= (const U &a) const |
template<class U > | |
bool | operator>= (const Pt2< U > &a) const |
template<class U > | |
bool | operator>= (const Pt3< U > &a) const |
template<class U > | |
bool | operator>= (const Pt4< U > &a) const |
template<class U > | |
Pt4 | operator+ (const U &a) const |
template<class U > | |
Pt4 | operator+ (const Pt2< U > &a) const |
template<class U > | |
Pt4 | operator+ (const Pt3< U > &a) const |
template<class U > | |
Pt4 | operator+ (const Pt4< U > &a) const |
template<class U > | |
Pt4 | operator- (const U &a) const |
template<class U > | |
Pt4 | operator- (const Pt2< U > &a) const |
template<class U > | |
Pt4 | operator- (const Pt3< U > &a) const |
template<class U > | |
Pt4 | operator- (const Pt4< U > &a) const |
Pt4 | operator- () const |
template<class U > | |
Pt4 | operator* (const U &a) const |
template<class U > | |
Pt4 | operator* (const Pt2< U > &a) const |
template<class U > | |
Pt4 | operator* (const Pt3< U > &a) const |
template<class U > | |
Pt4 | operator* (const Pt4< U > &a) const |
template<class U > | |
Pt4 | operator/ (const U &a) const |
template<class U > | |
Pt4 | operator/ (const Pt2< U > &a) const |
template<class U > | |
Pt4 | operator/ (const Pt3< U > &a) const |
template<class U > | |
Pt4 | operator/ (const Pt4< U > &a) const |
template<class U > | |
void | operator+= (const U &a) |
template<class U > | |
void | operator+= (const Pt2< U > &a) |
template<class U > | |
void | operator+= (const Pt3< U > &a) |
template<class U > | |
void | operator+= (const Pt4< U > &a) |
template<class U > | |
void | operator-= (const U &a) |
template<class U > | |
void | operator-= (const Pt2< U > &a) |
template<class U > | |
void | operator-= (const Pt3< U > &a) |
template<class U > | |
void | operator-= (const Pt4< U > &a) |
template<class U > | |
void | operator*= (const U &a) |
template<class U > | |
void | operator*= (const Pt2< U > &a) |
template<class U > | |
void | operator*= (const Pt3< U > &a) |
template<class U > | |
void | operator*= (const Pt4< U > &a) |
template<class U > | |
void | operator/= (const U &a) |
template<class U > | |
void | operator/= (const Pt2< U > &a) |
template<class U > | |
void | operator/= (const Pt3< U > &a) |
template<class U > | |
void | operator/= (const Pt4< U > &a) |
void | Set (T a_x, T a_y, T a_z, T a_w) |
void | Set (T a) |
T | operator[] (unsigned int a) const |
T & | operator[] (unsigned int a) |
const T & | at (unsigned int a) const |
T & | at (unsigned int a) |
template<typename Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
For serialization. More... | |
Public Attributes | |
T | x |
x coordinate | |
T | y |
y coordinate | |
T | z |
z coordinate | |
T | w |
w coordinate | |
4D point template class
3d point template
default constructor
Definition at line 1589 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
|
inline |
at
a | index: 0 = x, 1 = y, 2 = z, 3 = w |
Definition at line 2313 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
Referenced by xms::Pt4< T >::at().
|
inline |
--— OVERLOAD --—
a | index: 0 = x, 1 = y, 2 = z, w = 3 |
Definition at line 2332 of file pt.h.
References xms::Pt4< T >::at().
operator*=
[in] | a | Pt2. |
Definition at line 2214 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
operator*=
[in] | a | Pt3. |
Definition at line 2222 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
operator*=
[in] | a | Pt4. |
Definition at line 2231 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
operator+=
[in] | a | Pt2. |
Definition at line 2138 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
operator+=
[in] | a | Pt3. |
Definition at line 2146 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
operator+=
[in] | a | Pt4. |
Definition at line 2155 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
operator-=
[in] | a | Pt2. |
Definition at line 2176 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
operator-=
[in] | a | Pt3. |
Definition at line 2184 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
operator-=
[in] | a | Pt4. |
Definition at line 2193 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
operator/=
[in] | a | Pt2. |
Definition at line 2252 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
operator/=
[in] | a | Pt3. |
Definition at line 2260 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
operator/=
[in] | a | Pt4. |
Definition at line 2269 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
|
inline |
operator= (Assignment operator)
[in] | a | Pt2. |
Definition at line 1679 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
|
inline |
operator= (Assignment operator)
[in] | a | Pt3. |
Definition at line 1689 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
|
inline |
operator= (Assignment operator)
[in] | a | Pt4. |
Definition at line 1700 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
|
inline |
operator==
[in] | a | Pt2. |
Definition at line 1723 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
|
inline |
operator==
[in] | a | Pt3. |
Definition at line 1731 of file pt.h.
References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.
|
inline |
operator==
[in] | a | Pt4. |
Definition at line 1739 of file pt.h.
References xms::Pt4< T >::w, xms::Pt4< T >::x, xms::Pt4< T >::y, and xms::Pt4< T >::z.
|
inline |
|
inline |
|
inline |
For serialization.
archive | The archive. |
version | The version. |
Definition at line 2342 of file pt.h.
References xms::Pt2< T >::x, and xms::Pt2< T >::y.
|
inline |
|
inline |