xmscore  1.0
xms::Pt4< T > Class Template Reference

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 Pt4operator= (const U &a)
 
template<class U >
const Pt4operator= (const Pt2< U > &a)
 
template<class U >
const Pt4operator= (const Pt3< U > &a)
 
template<class U >
const Pt4operator= (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)
 
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

x
 x coordinate
 
y
 y coordinate
 
z
 z coordinate
 
w
 w coordinate
 

Detailed Description

template<class T>
class xms::Pt4< T >

4D point template class

3d point template

Definition at line 1576 of file pt.h.

Constructor & Destructor Documentation

◆ Pt4() [1/7]

template<class T>
xms::Pt4< T >::Pt4 ( )
inline

default constructor

Definition at line 1589 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ Pt4() [2/7]

template<class T>
xms::Pt4< T >::Pt4 ( a_x,
a_y,
a_z,
a_w 
)
inline

constructor

Parameters
[in]a_xX value.
[in]a_yY value.
[in]a_zZ value.
[in]a_wW value.

Definition at line 1601 of file pt.h.

◆ Pt4() [3/7]

template<class T>
xms::Pt4< T >::Pt4 ( a)
inlineexplicit

constructor

Parameters
[in]aValue used for x, y, z and w.

Definition at line 1610 of file pt.h.

◆ Pt4() [4/7]

template<class T>
xms::Pt4< T >::Pt4 ( const Pt4< T > &  a)
inline

copy constructor

Parameters
[in]aPoint to copy from.

Definition at line 1621 of file pt.h.

◆ Pt4() [5/7]

template<class T>
template<class U >
xms::Pt4< T >::Pt4 ( const Pt2< U > &  a)
inlineexplicit

constructor. (Pt4<T>) Pt2<U>

Parameters
aPt2. z and w are set to 0.

Definition at line 1633 of file pt.h.

◆ Pt4() [6/7]

template<class T>
template<class U >
xms::Pt4< T >::Pt4 ( const Pt3< U > &  a)
inlineexplicit

constructor. (Pt4<T>) Pt3<U>

Parameters
aPt3. w is set to 0.

Definition at line 1643 of file pt.h.

◆ Pt4() [7/7]

template<class T>
template<class U >
xms::Pt4< T >::Pt4 ( const Pt4< U > &  a)
inlineexplicit

constructor. (Pt4<T>) Pt4<U>

Parameters
aPt4.

Definition at line 1653 of file pt.h.

Member Function Documentation

◆ at() [1/2]

template<class T>
const T& xms::Pt4< T >::at ( unsigned int  a) const
inline

at

Parameters
aindex: 0 = x, 1 = y, 2 = z, 3 = w
Returns
Value.

Definition at line 2313 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

Referenced by xms::Pt4< T >::at().

◆ at() [2/2]

template<class T>
T& xms::Pt4< T >::at ( unsigned int  a)
inline

--— OVERLOAD --—

Parameters
aindex: 0 = x, 1 = y, 2 = z, w = 3
Returns
Value.

Definition at line 2332 of file pt.h.

References xms::Pt4< T >::at().

◆ operator!=() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator!= ( const U &  a) const
inline

operator!=

Parameters
[in]aA constant.
Returns
true if !=.

Definition at line 1748 of file pt.h.

◆ operator!=() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator!= ( const Pt2< U > &  a) const
inline

operator!=

Parameters
[in]aPt2.
Returns
true if !=.

Definition at line 1756 of file pt.h.

◆ operator!=() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator!= ( const Pt3< U > &  a) const
inline

operator!=

Parameters
[in]aPt3.
Returns
true if !=.

Definition at line 1764 of file pt.h.

◆ operator!=() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator!= ( const Pt4< U > &  a) const
inline

operator!=

Parameters
[in]aPt4.
Returns
true if !=.

Definition at line 1772 of file pt.h.

◆ operator*() [1/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator* ( const U &  a) const
inline

operator*

Parameters
[in]aA constant.
Returns
Pt4.

Definition at line 2063 of file pt.h.

◆ operator*() [2/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator* ( const Pt2< U > &  a) const
inline

operator*

Parameters
[in]aPt2.
Returns
Pt4.

Definition at line 2071 of file pt.h.

◆ operator*() [3/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator* ( const Pt3< U > &  a) const
inline

operator*

Parameters
[in]aPt3.
Returns
Pt4.

Definition at line 2079 of file pt.h.

◆ operator*() [4/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator* ( const Pt4< U > &  a) const
inline

operator*

Parameters
[in]aPt4.
Returns
Pt4.

Definition at line 2087 of file pt.h.

◆ operator*=() [1/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator*= ( const U &  a)
inline

operator*=

Parameters
[in]aA constant.

Definition at line 2204 of file pt.h.

◆ operator*=() [2/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator*= ( const Pt2< U > &  a)
inline

operator*=

Parameters
[in]aPt2.

Definition at line 2214 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator*=() [3/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator*= ( const Pt3< U > &  a)
inline

operator*=

Parameters
[in]aPt3.

Definition at line 2222 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator*=() [4/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator*= ( const Pt4< U > &  a)
inline

operator*=

Parameters
[in]aPt4.

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+() [1/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator+ ( const U &  a) const
inline

operator+

Parameters
[in]aA constant.
Returns
Pt4.

Definition at line 1990 of file pt.h.

◆ operator+() [2/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator+ ( const Pt2< U > &  a) const
inline

operator+

Parameters
[in]aPt2.
Returns
Pt4.

Definition at line 1998 of file pt.h.

◆ operator+() [3/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator+ ( const Pt3< U > &  a) const
inline

operator+

Parameters
[in]aPt3.
Returns
Pt4.

Definition at line 2006 of file pt.h.

◆ operator+() [4/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator+ ( const Pt4< U > &  a) const
inline

operator+

Parameters
[in]aPt4.
Returns
Pt4.

Definition at line 2014 of file pt.h.

◆ operator+=() [1/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator+= ( const U &  a)
inline

operator+=

Parameters
[in]aA constant.

Definition at line 2128 of file pt.h.

◆ operator+=() [2/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator+= ( const Pt2< U > &  a)
inline

operator+=

Parameters
[in]aPt2.

Definition at line 2138 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator+=() [3/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator+= ( const Pt3< U > &  a)
inline

operator+=

Parameters
[in]aPt3.

Definition at line 2146 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator+=() [4/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator+= ( const Pt4< U > &  a)
inline

operator+=

Parameters
[in]aPt4.

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-() [1/5]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator- ( const U &  a) const
inline

operator-

Parameters
[in]aA constant.
Returns
Pt4.

Definition at line 2023 of file pt.h.

◆ operator-() [2/5]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator- ( const Pt2< U > &  a) const
inline

operator-

Parameters
[in]aPt2.
Returns
Pt4.

Definition at line 2031 of file pt.h.

◆ operator-() [3/5]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator- ( const Pt3< U > &  a) const
inline

operator-

Parameters
[in]aPt3.
Returns
Pt4.

Definition at line 2039 of file pt.h.

◆ operator-() [4/5]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator- ( const Pt4< U > &  a) const
inline

operator-

Parameters
[in]aPt4.
Returns
Pt4.

Definition at line 2047 of file pt.h.

◆ operator-() [5/5]

template<class T>
Pt4 xms::Pt4< T >::operator- ( ) const
inline

unary operator-

Returns
Pt4.

Definition at line 2054 of file pt.h.

◆ operator-=() [1/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator-= ( const U &  a)
inline

operator-=

Parameters
[in]aA constant.

Definition at line 2166 of file pt.h.

◆ operator-=() [2/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator-= ( const Pt2< U > &  a)
inline

operator-=

Parameters
[in]aPt2.

Definition at line 2176 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator-=() [3/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator-= ( const Pt3< U > &  a)
inline

operator-=

Parameters
[in]aPt3.

Definition at line 2184 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator-=() [4/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator-= ( const Pt4< U > &  a)
inline

operator-=

Parameters
[in]aPt4.

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/() [1/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator/ ( const U &  a) const
inline

operator/

Parameters
[in]aPt4.
Returns
Pt4.

Definition at line 2096 of file pt.h.

◆ operator/() [2/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator/ ( const Pt2< U > &  a) const
inline

operator/

Parameters
[in]aPt2.
Returns
Pt4.

Definition at line 2104 of file pt.h.

◆ operator/() [3/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator/ ( const Pt3< U > &  a) const
inline

operator/

Parameters
[in]aPt3.
Returns
Pt4.

Definition at line 2112 of file pt.h.

◆ operator/() [4/4]

template<class T>
template<class U >
Pt4 xms::Pt4< T >::operator/ ( const Pt4< U > &  a) const
inline

operator/

Parameters
[in]aPt4.
Returns
Pt4.

Definition at line 2120 of file pt.h.

◆ operator/=() [1/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator/= ( const U &  a)
inline

operator/=

Parameters
[in]aA constant.

Definition at line 2242 of file pt.h.

◆ operator/=() [2/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator/= ( const Pt2< U > &  a)
inline

operator/=

Parameters
[in]aPt2.

Definition at line 2252 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator/=() [3/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator/= ( const Pt3< U > &  a)
inline

operator/=

Parameters
[in]aPt3.

Definition at line 2260 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator/=() [4/4]

template<class T>
template<class U >
void xms::Pt4< T >::operator/= ( const Pt4< U > &  a)
inline

operator/=

Parameters
[in]aPt4.

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.

◆ operator<() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator< ( const U &  a) const
inline

operator<

Parameters
[in]aA constant.
Returns
true if <.

Definition at line 1781 of file pt.h.

◆ operator<() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator< ( const Pt2< U > &  a) const
inline

operator<

Parameters
[in]aPt2.
Returns
true if <.

Definition at line 1813 of file pt.h.

◆ operator<() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator< ( const Pt3< U > &  a) const
inline

operator<

Parameters
[in]aPt3.
Returns
true if <.

Definition at line 1831 of file pt.h.

◆ operator<() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator< ( const Pt4< U > &  a) const
inline

operator<

Parameters
[in]aPt4.
Returns
true if <.

Definition at line 1856 of file pt.h.

◆ operator<=() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator<= ( const U &  a) const
inline

operator<=

Parameters
[in]aA constant.
Returns
true if <=.

Definition at line 1889 of file pt.h.

◆ operator<=() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator<= ( const Pt2< U > &  a) const
inline

operator<=

Parameters
[in]aPt2.
Returns
true if <=.

Definition at line 1897 of file pt.h.

◆ operator<=() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator<= ( const Pt3< U > &  a) const
inline

operator<=

Parameters
[in]aPt3.
Returns
true if <=.

Definition at line 1905 of file pt.h.

◆ operator<=() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator<= ( const Pt4< U > &  a) const
inline

operator<=

Parameters
[in]aPt4.
Returns
true if <=.

Definition at line 1913 of file pt.h.

◆ operator=() [1/4]

template<class T>
template<class U >
const Pt4& xms::Pt4< T >::operator= ( const U &  a)
inline

operator= (Assignment operator)

Parameters
[in]aA constant.
Returns
Pt4 reference.

Definition at line 1667 of file pt.h.

◆ operator=() [2/4]

template<class T>
template<class U >
const Pt4& xms::Pt4< T >::operator= ( const Pt2< U > &  a)
inline

operator= (Assignment operator)

Parameters
[in]aPt2.
Returns
Pt4 reference.

Definition at line 1679 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator=() [3/4]

template<class T>
template<class U >
const Pt4& xms::Pt4< T >::operator= ( const Pt3< U > &  a)
inline

operator= (Assignment operator)

Parameters
[in]aPt3.
Returns
Pt4 reference.

Definition at line 1689 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator=() [4/4]

template<class T>
template<class U >
const Pt4& xms::Pt4< T >::operator= ( const Pt4< U > &  a)
inline

operator= (Assignment operator)

Parameters
[in]aPt4.
Returns
Pt4 reference.

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.

◆ operator==() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator== ( const U &  a) const
inline

operator==

Parameters
[in]aA constant.
Returns
true if ==.

Definition at line 1715 of file pt.h.

◆ operator==() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator== ( const Pt2< U > &  a) const
inline

operator==

Parameters
[in]aPt2.
Returns
true if ==.

Definition at line 1723 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ operator==() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator== ( const Pt3< U > &  a) const
inline

operator==

Parameters
[in]aPt3.
Returns
true if ==.

Definition at line 1731 of file pt.h.

References xms::Pt3< T >::x, xms::Pt3< T >::y, and xms::Pt3< T >::z.

◆ operator==() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator== ( const Pt4< U > &  a) const
inline

operator==

Parameters
[in]aPt4.
Returns
true if ==.

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.

◆ operator>() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator> ( const U &  a) const
inline

operator>

Parameters
[in]aA constant.
Returns
true if >.

Definition at line 1922 of file pt.h.

◆ operator>() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator> ( const Pt2< U > &  a) const
inline

operator>

Parameters
[in]aPt2.
Returns
true if >.

Definition at line 1930 of file pt.h.

◆ operator>() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator> ( const Pt3< U > &  a) const
inline

operator>

Parameters
[in]aPt3.
Returns
true if >.

Definition at line 1938 of file pt.h.

◆ operator>() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator> ( const Pt4< U > &  a) const
inline

operator>

Parameters
[in]aPt4.
Returns
true if >.

Definition at line 1946 of file pt.h.

◆ operator>=() [1/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator>= ( const U &  a) const
inline

operator>=

Parameters
[in]aA constant.
Returns
true if >=.

Definition at line 1955 of file pt.h.

◆ operator>=() [2/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator>= ( const Pt2< U > &  a) const
inline

operator>=

Parameters
[in]aPt2.
Returns
true if >=.

Definition at line 1963 of file pt.h.

◆ operator>=() [3/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator>= ( const Pt3< U > &  a) const
inline

operator>=

Parameters
[in]aPt3.
Returns
true if >=.

Definition at line 1971 of file pt.h.

◆ operator>=() [4/4]

template<class T>
template<class U >
bool xms::Pt4< T >::operator>= ( const Pt4< U > &  a) const
inline

operator>=

Parameters
[in]aPt4.
Returns
true if >=.

Definition at line 1979 of file pt.h.

◆ operator[]() [1/2]

template<class T>
T xms::Pt4< T >::operator[] ( unsigned int  a) const
inline

operator[]

Parameters
aindex: 0 = x, 1 = y, 2 = z, 3 = w
Returns
Value.

Definition at line 2304 of file pt.h.

◆ operator[]() [2/2]

template<class T>
T& xms::Pt4< T >::operator[] ( unsigned int  a)
inline

operator[]

Parameters
aindex: 0 = x, 1 = y, 2 = z, 3 = w
Returns
Value.

Definition at line 2308 of file pt.h.

◆ serialize()

template<class T>
template<typename Archive >
void xms::Pt4< T >::serialize ( Archive &  archive,
const unsigned int  version 
)
inline

For serialization.

Parameters
archiveThe archive.
versionThe version.

Definition at line 2342 of file pt.h.

References xms::Pt2< T >::x, and xms::Pt2< T >::y.

◆ Set() [1/2]

template<class T>
void xms::Pt4< T >::Set ( a_x,
a_y,
a_z,
a_w 
)
inline

Setter

Parameters
a_xx.
a_yy.
a_zz.
a_ww.

Definition at line 2284 of file pt.h.

◆ Set() [2/2]

template<class T>
void xms::Pt4< T >::Set ( a)
inline

Setter

Parameters
aValue to use for x, y and z.

Definition at line 2293 of file pt.h.


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