![]() |
Gorgon Game Engine
|
Public Types | |
| typedef T_ | BaseType |
| Base type of the point elements. More... | |
Public Member Functions | |
| basic_Point3D () | |
| Default constructor, does not zero initialize point. More... | |
| basic_Point3D (const basic_Point< T_ > &point, const T_ &Z=T_()) | |
| Filling constructor. More... | |
| basic_Point3D (const T_ &X, const T_ &Y, const T_ &Z) | |
| Filling constructor. More... | |
| basic_Point3D | CrossProduct (const basic_Point3D &other) const |
| Float | Distance () const |
| Float | ManhattanDistance () const |
| basic_Point3D | Normalize () const |
| Float | operator* (const basic_Point3D &other) const |
| basic_Point3D | operator* (Float val) const |
| basic_Point3D | operator+ (const basic_Point3D &other) const |
| basic_Point3D | operator- (const basic_Point3D &other) const |
| basic_Point3D | operator/ (Float val) const |
Public Attributes | |
| union { | |
| struct { | |
| T_ X | |
| T_ Y | |
| T_ Z | |
| } | |
| T_ Vector [3] | |
| }; | |
| typedef T_ BaseType |
Base type of the point elements.
| basic_Point3D | ( | ) |
Default constructor, does not zero initialize point.
| basic_Point3D | ( | const T_ & | X, |
| const T_ & | Y, | ||
| const T_ & | Z | ||
| ) |
Filling constructor.
| basic_Point3D | ( | const basic_Point< T_ > & | point, |
| const T_ & | Z = T_() |
||
| ) |
Filling constructor.
| basic_Point3D CrossProduct | ( | const basic_Point3D< T_ > & | other | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| Float Distance | ( | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| Float ManhattanDistance | ( | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| basic_Point3D Normalize | ( | ) | const |
| Float operator* | ( | const basic_Point3D< T_ > & | other | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| basic_Point3D operator* | ( | Float | val | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| basic_Point3D operator+ | ( | const basic_Point3D< T_ > & | other | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| basic_Point3D operator- | ( | const basic_Point3D< T_ > & | other | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| basic_Point3D operator/ | ( | Float | val | ) | const |
References basic_Point3D< T_ >::X, basic_Point3D< T_ >::Y, and basic_Point3D< T_ >::Z.
| union { ... } |
| T_ Vector[3] |
| T_ X |
| T_ Y |
| T_ Z |