Geogram  Version 1.9.0
A programming library of geometric algorithms
vechg.h File Reference

Generic implementation of geometric vectors in homogeneous coordinates. More...

Go to the source code of this file.

Classes

class  GEO::vec2Hg< T >
 2d vector with homogeneous coordinates More...
 
class  GEO::vec2HgLexicoCompare< T >
 Comparator class for vec2Hg \detail Used to create maps indexed by vec2Hg or SOS symbolic perturbation. More...
 
class  GEO::vec3Hg< T >
 3d vector with homogeneous coordinates More...
 
class  GEO::vec3HgLexicoCompare< T >
 Comparator class for vec3Hg \detail Used to create maps indexed by vec3Hg or SOS symbolic perturbation. More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 
 GEO::Numeric
 Defines numeric types used in Vorpaline.
 

Functions

template<class T >
vec2Hg< T > GEO::operator- (const vec2Hg< T > &p1, const vec2Hg< T > &p2)
 
template<class T >
vec3Hg< T > GEO::operator- (const vec3Hg< T > &p1, const vec3Hg< T > &p2)
 
template<class T >
vec2Hg< T > GEO::mix (const rationalg< T > &t, const vecng< 2, double > &p1, const vecng< 2, double > &p2)
 
template<class T >
vec3Hg< T > GEO::mix (const rationalg< T > &t, const vecng< 3, double > &p1, const vecng< 3, double > &p2)
 
template<class T >
vec2Hg< T > GEO::mix (const rationalg< T > &t, const vec2Hg< T > &p1, const vec2Hg< T > &p2)
 
template<class T >
vec3Hg< T > GEO::mix (const rationalg< T > &t, const vec3Hg< T > &p1, const vec3Hg< T > &p2)
 
template<class T >
void GEO::Numeric::optimize_number_representation (vec2Hg< T > &v)
 
template<class T >
void GEO::Numeric::optimize_number_representation (vec3Hg< T > &v)
 

Detailed Description

Generic implementation of geometric vectors in homogeneous coordinates.

Definition in file vechg.h.