Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
vgl_homg< T > Class Template Reference

General purpose support class for vgl_homg_ classes. More...

#include <vgl_fwd.h>

Public Member Functions

template<>
float infinity
 
template<>
float infinitesimal_tol
 
template<>
double infinity
 
template<>
double infinitesimal_tol
 
template<>
long double infinity
 
template<>
long double infinitesimal_tol
 

Static Public Member Functions

static bool is_infinity (T v)
 Standard way to test whether a number is indeed infinite. More...
 
static void set_infinitesimal_tol (T tol)
 Static method to set the default tolerance used for infinitesimal checks. More...
 

Static Public Attributes

static VGL_EXPORT T infinity
 Standard placeholder for methods that wish to return infinity. More...
 
static T infinitesimal_tol
 The tolerance used in "near zero" tests in the vgl_homg subclasses. More...
 

Detailed Description

template<class T>
class vgl_homg< T >

General purpose support class for vgl_homg_ classes.

Definition at line 6 of file vgl_fwd.h.

Member Function Documentation

◆ infinitesimal_tol() [1/3]

template<>
float vgl_homg< float >::infinitesimal_tol ( )

Definition at line 6 of file vgl_homg.cxx.

◆ infinitesimal_tol() [2/3]

template<>
double vgl_homg< double >::infinitesimal_tol ( )

Definition at line 9 of file vgl_homg.cxx.

◆ infinitesimal_tol() [3/3]

template<>
long double vgl_homg< long double >::infinitesimal_tol ( )

Definition at line 12 of file vgl_homg.cxx.

◆ infinity() [1/3]

template<>
float vgl_homg< float >::infinity ( )

Definition at line 5 of file vgl_homg.cxx.

◆ infinity() [2/3]

template<>
double vgl_homg< double >::infinity ( )

Definition at line 8 of file vgl_homg.cxx.

◆ infinity() [3/3]

template<>
long double vgl_homg< long double >::infinity ( )

Definition at line 11 of file vgl_homg.cxx.

◆ is_infinity()

template<class T >
static bool vgl_homg< T >::is_infinity ( v)
inlinestatic

Standard way to test whether a number is indeed infinite.

Definition at line 38 of file vgl_homg.h.

◆ set_infinitesimal_tol()

template<class T >
static void vgl_homg< T >::set_infinitesimal_tol ( tol)
static

Static method to set the default tolerance used for infinitesimal checks.

The default is 1e-12.

Member Data Documentation

◆ infinitesimal_tol

template<class T >
T vgl_homg< T >::infinitesimal_tol
static

The tolerance used in "near zero" tests in the vgl_homg subclasses.

Definition at line 41 of file vgl_homg.h.

◆ infinity

template<class T >
VGL_EXPORT T vgl_homg< T >::infinity
static

Standard placeholder for methods that wish to return infinity.

Definition at line 35 of file vgl_homg.h.


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