Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
TPoint3D< T > Class Template Reference

#include <Point.h>

Inherits TPoint2D< T >, and TPoint2D< T >.

Public Member Functions

 TPoint3D (void)
 
 TPoint3D (T x, T y, T z)
 
 TPoint3D (BASECLASS const &rvalue)
 
bool operator== (TPoint3D< T > const &rvalue) const
 
bool operator!= (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const & operator+= (TPoint3D< T > const &rvalue)
 
TPoint2D< T > const & operator+= (TPoint2D< T > const &rvalue)
 
TPoint3D< T > const & operator-= (TPoint3D< T > const &rvalue)
 
TPoint2D< T > const & operator-= (TPoint2D< T > const &rvalue)
 
TPoint3D< T > const operator- (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator- (TPoint2D< T > const &rvalue) const
 
TPoint3D< T > const operator+ (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator+ (TPoint2D< T > const &rvalue) const
 
TPoint3D< T > const operator* (T rvalue) const
 
TPoint3D< T > const & operator*= (T rvalue)
 
TPoint3D< T > const operator/ (T rvalue) const
 
TPoint3D< T > const & operator/= (T rvalue)
 
TPoint3D< T > const operator* (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const Dot_Product (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const Cross_Product (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator- (void) const
 
Length (void) const
 
TPoint3D< T > const Normalize (void) const
 
Distance_To (TPoint3D< T > const &point) const
 
Distance_To (TPoint2D< T > const &point) const
 
 TPoint3D (void)
 
 TPoint3D (T x, T y, T z)
 
 TPoint3D (BASECLASS const &rvalue, T z)
 
bool operator== (TPoint3D< T > const &rvalue) const
 
bool operator!= (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const & operator+= (TPoint3D< T > const &rvalue)
 
TPoint2D< T > const & operator+= (TPoint2D< T > const &rvalue)
 
TPoint3D< T > const & operator-= (TPoint3D< T > const &rvalue)
 
TPoint2D< T > const & operator-= (TPoint2D< T > const &rvalue)
 
TPoint3D< T > const operator- (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator- (TPoint2D< T > const &rvalue) const
 
TPoint3D< T > const operator+ (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator+ (TPoint2D< T > const &rvalue) const
 
TPoint3D< T > const operator* (T rvalue) const
 
TPoint3D< T > const & operator*= (T rvalue)
 
TPoint3D< T > const operator/ (T rvalue) const
 
TPoint3D< T > const & operator/= (T rvalue)
 
TPoint3D< T > const operator* (TPoint3D< T > const &rvalue) const
 
Dot_Product (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const Cross_Product (TPoint3D< T > const &rvalue) const
 
TPoint3D< T > const operator- (void) const
 
Length (void) const
 
TPoint3D< T > const Normalize (void) const
 
- Public Member Functions inherited from TPoint2D< T >
 TPoint2D (void)
 
 TPoint2D (T x, T y)
 
bool operator== (TPoint2D< T > const &rvalue) const
 
bool operator!= (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const & operator+= (TPoint2D< T > const &rvalue)
 
TPoint2D< T > const & operator-= (TPoint2D< T > const &rvalue)
 
TPoint2D< T > const operator- (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator+ (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator* (T rvalue) const
 
TPoint2D< T > const & operator*= (T rvalue)
 
TPoint2D< T > const operator/ (T rvalue) const
 
TPoint2D< T > const & operator/= (T rvalue)
 
TPoint2D< T > const operator* (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const Dot_Product (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const Cross_Product (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator- (void) const
 
Length (void) const
 
TPoint2D< T > const Normalize (void) const
 
TPoint2D< T > const Bias_To (TRect< T > const &rect) const
 
Distance_To (TPoint2D< T > const &point) const
 
 TPoint2D (void)
 
 TPoint2D (T x, T y)
 
bool operator== (TPoint2D< T > const &rvalue) const
 
bool operator!= (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const & operator+= (TPoint2D< T > const &rvalue)
 
TPoint2D< T > const & operator-= (TPoint2D< T > const &rvalue)
 
TPoint2D< T > const operator- (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator+ (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator* (T rvalue) const
 
TPoint2D< T > const & operator*= (T rvalue)
 
TPoint2D< T > const operator/ (T rvalue) const
 
TPoint2D< T > const & operator/= (T rvalue)
 
TPoint2D< T > const operator* (TPoint2D< T > const &rvalue) const
 
Dot_Product (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const Cross_Product (TPoint2D< T > const &rvalue) const
 
TPoint2D< T > const operator- (void) const
 
Length (void) const
 
TPoint2D< T > const Normalize (void) const
 
Distance_To (TPoint2D< T > const &point) const
 

Public Attributes

Z
 
- Public Attributes inherited from TPoint2D< T >
X
 
Y
 

Detailed Description

template<class T>
class TPoint3D< T >

Definition at line 169 of file POINT.h.

Constructor & Destructor Documentation

◆ TPoint3D() [1/6]

template<class T>
TPoint3D< T >::TPoint3D ( void )
inline

Definition at line 133 of file Point.h.

◆ TPoint3D() [2/6]

template<class T>
TPoint3D< T >::TPoint3D ( T x,
T y,
T z )
inline

Definition at line 134 of file Point.h.

◆ TPoint3D() [3/6]

template<class T>
TPoint3D< T >::TPoint3D ( BASECLASS const & rvalue)
inline

Definition at line 135 of file Point.h.

◆ TPoint3D() [4/6]

template<class T>
TPoint3D< T >::TPoint3D ( void )
inline

Definition at line 173 of file POINT.h.

◆ TPoint3D() [5/6]

template<class T>
TPoint3D< T >::TPoint3D ( T x,
T y,
T z )
inline

Definition at line 174 of file POINT.h.

◆ TPoint3D() [6/6]

template<class T>
TPoint3D< T >::TPoint3D ( BASECLASS const & rvalue,
T z )
inline

Definition at line 175 of file POINT.h.

Member Function Documentation

◆ Cross_Product() [1/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::Cross_Product ( TPoint3D< T > const & rvalue) const
inline

Definition at line 160 of file Point.h.

◆ Cross_Product() [2/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::Cross_Product ( TPoint3D< T > const & rvalue) const
inline

Definition at line 200 of file POINT.h.

◆ Distance_To() [1/2]

template<class T>
T TPoint3D< T >::Distance_To ( TPoint2D< T > const & point) const
inline

Definition at line 178 of file Point.h.

◆ Distance_To() [2/2]

template<class T>
T TPoint3D< T >::Distance_To ( TPoint3D< T > const & point) const
inline

Definition at line 177 of file Point.h.

◆ Dot_Product() [1/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::Dot_Product ( TPoint3D< T > const & rvalue) const
inline

Definition at line 159 of file Point.h.

◆ Dot_Product() [2/2]

template<class T>
T TPoint3D< T >::Dot_Product ( TPoint3D< T > const & rvalue) const
inline

Definition at line 199 of file POINT.h.

◆ Length() [1/2]

template<class T>
T TPoint3D< T >::Length ( void ) const
inline

Definition at line 166 of file Point.h.

◆ Length() [2/2]

template<class T>
T TPoint3D< T >::Length ( void ) const
inline

Definition at line 206 of file POINT.h.

◆ Normalize() [1/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::Normalize ( void ) const
inline

Definition at line 167 of file Point.h.

◆ Normalize() [2/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::Normalize ( void ) const
inline

Definition at line 207 of file POINT.h.

◆ operator!=() [1/2]

template<class T>
bool TPoint3D< T >::operator!= ( TPoint3D< T > const & rvalue) const
inline

Definition at line 139 of file Point.h.

◆ operator!=() [2/2]

template<class T>
bool TPoint3D< T >::operator!= ( TPoint3D< T > const & rvalue) const
inline

Definition at line 179 of file POINT.h.

◆ operator*() [1/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator* ( T rvalue) const
inline

Definition at line 152 of file Point.h.

◆ operator*() [2/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator* ( T rvalue) const
inline

Definition at line 192 of file POINT.h.

◆ operator*() [3/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator* ( TPoint3D< T > const & rvalue) const
inline

Definition at line 158 of file Point.h.

◆ operator*() [4/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator* ( TPoint3D< T > const & rvalue) const
inline

Definition at line 198 of file POINT.h.

◆ operator*=() [1/2]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator*= ( T rvalue)
inline

Definition at line 153 of file Point.h.

◆ operator*=() [2/2]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator*= ( T rvalue)
inline

Definition at line 193 of file POINT.h.

◆ operator+() [1/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator+ ( TPoint2D< T > const & rvalue) const
inline

Definition at line 149 of file Point.h.

◆ operator+() [2/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator+ ( TPoint2D< T > const & rvalue) const
inline

Definition at line 189 of file POINT.h.

◆ operator+() [3/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator+ ( TPoint3D< T > const & rvalue) const
inline

Definition at line 148 of file Point.h.

◆ operator+() [4/4]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator+ ( TPoint3D< T > const & rvalue) const
inline

Definition at line 188 of file POINT.h.

◆ operator+=() [1/4]

template<class T>
TPoint2D< T > const & TPoint3D< T >::operator+= ( TPoint2D< T > const & rvalue)
inline

Definition at line 143 of file Point.h.

◆ operator+=() [2/4]

template<class T>
TPoint2D< T > const & TPoint3D< T >::operator+= ( TPoint2D< T > const & rvalue)
inline

Definition at line 183 of file POINT.h.

◆ operator+=() [3/4]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator+= ( TPoint3D< T > const & rvalue)
inline

Definition at line 142 of file Point.h.

◆ operator+=() [4/4]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator+= ( TPoint3D< T > const & rvalue)
inline

Definition at line 182 of file POINT.h.

◆ operator-() [1/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( TPoint2D< T > const & rvalue) const
inline

Definition at line 147 of file Point.h.

◆ operator-() [2/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( TPoint2D< T > const & rvalue) const
inline

Definition at line 187 of file POINT.h.

◆ operator-() [3/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( TPoint3D< T > const & rvalue) const
inline

Definition at line 146 of file Point.h.

◆ operator-() [4/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( TPoint3D< T > const & rvalue) const
inline

Definition at line 186 of file POINT.h.

◆ operator-() [5/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( void ) const
inline

Definition at line 163 of file Point.h.

◆ operator-() [6/6]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator- ( void ) const
inline

Definition at line 203 of file POINT.h.

◆ operator-=() [1/4]

template<class T>
TPoint2D< T > const & TPoint3D< T >::operator-= ( TPoint2D< T > const & rvalue)
inline

Definition at line 145 of file Point.h.

◆ operator-=() [2/4]

template<class T>
TPoint2D< T > const & TPoint3D< T >::operator-= ( TPoint2D< T > const & rvalue)
inline

Definition at line 185 of file POINT.h.

◆ operator-=() [3/4]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator-= ( TPoint3D< T > const & rvalue)
inline

Definition at line 144 of file Point.h.

◆ operator-=() [4/4]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator-= ( TPoint3D< T > const & rvalue)
inline

Definition at line 184 of file POINT.h.

◆ operator/() [1/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator/ ( T rvalue) const
inline

Definition at line 154 of file Point.h.

◆ operator/() [2/2]

template<class T>
TPoint3D< T > const TPoint3D< T >::operator/ ( T rvalue) const
inline

Definition at line 194 of file POINT.h.

◆ operator/=() [1/2]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator/= ( T rvalue)
inline

Definition at line 155 of file Point.h.

◆ operator/=() [2/2]

template<class T>
TPoint3D< T > const & TPoint3D< T >::operator/= ( T rvalue)
inline

Definition at line 195 of file POINT.h.

◆ operator==() [1/2]

template<class T>
bool TPoint3D< T >::operator== ( TPoint3D< T > const & rvalue) const
inline

Definition at line 138 of file Point.h.

◆ operator==() [2/2]

template<class T>
bool TPoint3D< T >::operator== ( TPoint3D< T > const & rvalue) const
inline

Definition at line 178 of file POINT.h.

Member Data Documentation

◆ Z

template<class T>
T TPoint3D< T >::Z

Definition at line 185 of file Point.h.


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