Static Public Member Functions | Static Public Attributes
vgl_homg< T > Class Template Reference

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

#include <vgl_homg.h>

List of all members.

Static Public Member Functions

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

Static Public Attributes

static T infinity = 3.4028234663852886e+38f
 Standard placeholder for methods that wish to return infinity.
static T infinitesimal_tol = 1e-12f
 The tolerance used in "near zero" tests in the vgl_homg subclasses.

Detailed Description

template<class T>
class vgl_homg< T >

General purpose support class for vgl_homg_ classes.

Definition at line 30 of file vgl_homg.h.


Member Function Documentation

template<class T >
static bool vgl_homg< T >::is_infinity ( v) [inline, static]

Standard way to test whether a number is indeed infinite.

Definition at line 38 of file vgl_homg.h.

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

template<class T >
VCL_DEFINE_SPECIALIZATION long double vgl_homg< T >::infinitesimal_tol = 1e-12f [static]

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

Definition at line 41 of file vgl_homg.h.

template<class T >
VCL_DEFINE_SPECIALIZATION long double vgl_homg< T >::infinity = 3.4028234663852886e+38f [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: