Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes
HomgPlane3D Class Reference

#include <HomgPlane3D.h>

Inheritance diagram for HomgPlane3D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HomgPlane3D ()
 Constructor.
 HomgPlane3D (double x, double y, double z, double w)
 Constructor.
 HomgPlane3D (const vnl_double_3 &n, double d)
 Constructor.
 HomgPlane3D (const vnl_double_4 &v)
 ~HomgPlane3D ()
 Destructor.
HomgPoint3D closest_point (const HomgPoint3D &x) const
 closest point.
double distance (const HomgPoint3D &x) const
 Distance point to plane.
vnl_vector< double > n () const
vnl_double_4 get_vector () const
vnl_double_4 & asVector ()
void get (double *x_ptr, double *y_ptr, double *z_ptr, double *w_ptr) const
double x () const
 Get x.
double y () const
 Get y.
double z () const
 Get z.
double w () const
 Get w.
void set (double px, double py, double pz, double pw=1)
 Set x,y,z,w.
void set (const vnl_vector_fixed< double, 4 > &v)
 Set from vector.
void set (const vnl_vector< double > &v)
 Set from vector.
void set (unsigned int idx, double v)
 Set element.
bool operator== (Homg3D const &p) const

Static Public Member Functions

static void set_infinitesimal_tol (double tol)
 Static method to set the default tolerance used for infinitesimal checks.

Static Public Attributes

static double infinity = 1.7976931348623157E+308
 Standard placeholder for methods that wish to return infinity.
static double infinitesimal_tol = 1e-12
 The tolerance used in "near zero" tests in the Homg subclasses.

Protected Attributes

vnl_double_4 homg_vector_

Detailed Description

Definition at line 19 of file HomgPlane3D.h.


Constructor & Destructor Documentation

HomgPlane3D::HomgPlane3D ( )

Constructor.

Definition at line 19 of file HomgPlane3D.cxx.

HomgPlane3D::HomgPlane3D ( double  x,
double  y,
double  z,
double  w 
)

Constructor.

Definition at line 26 of file HomgPlane3D.cxx.

HomgPlane3D::HomgPlane3D ( const vnl_double_3 &  n,
double  d 
)

Constructor.

Definition at line 34 of file HomgPlane3D.cxx.

HomgPlane3D::HomgPlane3D ( const vnl_double_4 &  v) [inline]

Definition at line 27 of file HomgPlane3D.h.

HomgPlane3D::~HomgPlane3D ( )

Destructor.

Definition at line 42 of file HomgPlane3D.cxx.


Member Function Documentation

vnl_double_4& Homg3D::asVector ( ) [inline, inherited]

Definition at line 45 of file Homg3D.h.

HomgPoint3D HomgPlane3D::closest_point ( const HomgPoint3D x) const

closest point.

Definition at line 47 of file HomgPlane3D.cxx.

double HomgPlane3D::distance ( const HomgPoint3D x) const

Distance point to plane.

Definition at line 67 of file HomgPlane3D.cxx.

void Homg3D::get ( double *  x_ptr,
double *  y_ptr,
double *  z_ptr,
double *  w_ptr 
) const [inline, inherited]

Definition at line 48 of file Homg3D.h.

vnl_double_4 Homg3D::get_vector ( ) const [inline, inherited]

Definition at line 44 of file Homg3D.h.

vnl_vector<double> HomgPlane3D::n ( ) const [inline]

Definition at line 34 of file HomgPlane3D.h.

bool Homg3D::operator== ( Homg3D const &  p) const [inline, inherited]

Definition at line 97 of file Homg3D.h.

void Homg3D::set ( double  px,
double  py,
double  pz,
double  pw = 1 
) [inline, inherited]

Set x,y,z,w.

Definition at line 80 of file Homg3D.h.

void Homg3D::set ( const vnl_vector_fixed< double, 4 > &  v) [inline, inherited]

Set from vector.

Definition at line 88 of file Homg3D.h.

void Homg3D::set ( const vnl_vector< double > &  v) [inline, inherited]

Set from vector.

Definition at line 91 of file Homg3D.h.

void Homg3D::set ( unsigned int  idx,
double  v 
) [inline, inherited]

Set element.

Definition at line 94 of file Homg3D.h.

static void Homg::set_infinitesimal_tol ( double  tol) [static, inherited]

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

The default is 1e-12.

double Homg3D::w ( ) const [inline, inherited]

Get w.

Definition at line 66 of file Homg3D.h.

double Homg3D::x ( ) const [inline, inherited]

Get x.

Definition at line 57 of file Homg3D.h.

double Homg3D::y ( ) const [inline, inherited]

Get y.

Definition at line 60 of file Homg3D.h.

double Homg3D::z ( ) const [inline, inherited]

Get z.

Definition at line 63 of file Homg3D.h.


Member Data Documentation

vnl_double_4 Homg3D::homg_vector_ [protected, inherited]

Definition at line 102 of file Homg3D.h.

double Homg::infinitesimal_tol = 1e-12 [static, inherited]

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

Definition at line 32 of file Homg.h.

double Homg::infinity = 1.7976931348623157E+308 [static, inherited]

Standard placeholder for methods that wish to return infinity.

Definition at line 29 of file Homg.h.


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