![]() |
libimgdoc2
|
Structure defining a vector in three dimensions with floats representing the coordinates. More...
#include <types.h>
Public Member Functions | |
Vector3dF (float x, float y, float z) | |
![]() | |
Vector3dT () | |
Default constructor. All properties are set to zero. | |
Vector3dT (float x, float y, float z) | |
Vector3dT (const Point3dT< float > p) | |
Vector3dT< float > | Normalize () const |
float | AbsoluteValueSquared () const |
float | AbsoluteValue () const |
Additional Inherited Members | |
![]() | |
static Vector3dT< float > | Cross (const Vector3dT< float > &vectorA, const Vector3dT< float > &vectorB) |
static float | Dot (const Vector3dT< float > &vectorA, const Vector3dT< float > &vectorB) |
![]() | |
float | x |
The component of the vector in x-direction. | |
float | y |
The component of the vector in y-direction. | |
float | z |
The component of the vector in z-direction. | |
Structure defining a vector in three dimensions with floats representing the coordinates.
|
inline |
Constructor.
x | The component of the vector in x-direction. |
y | The component of the vector in y-direction. |
z | The component of the vector in z-direction. |