Geogram  Version 1.9.0
A programming library of geometric algorithms
GEO::vec3Hg< T > Class Template Reference

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)
 
vec3Hgoperator= (const vec3Hg &rhs)=default
 
vec3Hgoperator= (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

x
 
y
 
z
 
w
 

Detailed Description

template<class T>
class GEO::vec3Hg< T >

3d vector with homogeneous coordinates

Definition at line 185 of file vechg.h.


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