Geogram
Version 1.9.1
A programming library of geometric algorithms
|
3d vector with homogeneous coordinates More...
#include <geogram/basic/vechg.h>
Public Types | |
typedef T | value_type |
The type of the vector coordinates. | |
Public Member Functions | |
vec3Hg (const T &x_in, const T &y_in, const T &z_in, const T &w_in) | |
vec3Hg (T &&x_in, T &&y_in, T &&z_in, T &&w_in) | |
vec3Hg (double x_in, double y_in, double z_in, double w_in) | |
vec3Hg (const vec3Hg &rhs)=default | |
vec3Hg (vec3Hg &&rhs)=default | |
template<class T2 > | |
vec3Hg (const vecng< 3, T2 > &rhs) | |
template<class T2 > | |
vec3Hg (const vec3Hg< T2 > &rhs) | |
vec3Hg & | operator= (const vec3Hg &rhs)=default |
vec3Hg & | operator= (vec3Hg &&rhs)=default |
T * | data () |
const T * | data () const |
T & | operator[] (coord_index_t i) |
const T & | operator[] (coord_index_t i) const |
void | optimize () |
Public Attributes | |
T | x |
T | y |
T | z |
T | w |
3d vector with homogeneous coordinates