#include <HomgPlane3D.h>
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 |
( |
| ) |
|
HomgPlane3D::HomgPlane3D |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
w |
|
) |
| |
HomgPlane3D::HomgPlane3D |
( |
const vnl_double_3 & |
n, |
|
|
double |
d |
|
) |
| |
HomgPlane3D::HomgPlane3D |
( |
const vnl_double_4 & |
v | ) |
[inline] |
HomgPlane3D::~HomgPlane3D |
( |
| ) |
|
Member Function Documentation
vnl_double_4& Homg3D::asVector |
( |
| ) |
[inline, inherited] |
double HomgPlane3D::distance |
( |
const HomgPoint3D & |
x | ) |
const |
void Homg3D::get |
( |
double * |
x_ptr, |
|
|
double * |
y_ptr, |
|
|
double * |
z_ptr, |
|
|
double * |
w_ptr |
|
) |
| const [inline, inherited] |
vnl_double_4 Homg3D::get_vector |
( |
| ) |
const [inline, inherited] |
vnl_vector<double> HomgPlane3D::n |
( |
| ) |
const [inline] |
bool Homg3D::operator== |
( |
Homg3D const & |
p | ) |
const [inline, inherited] |
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.
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] |
double Homg3D::x |
( |
| ) |
const [inline, inherited] |
double Homg3D::y |
( |
| ) |
const [inline, inherited] |
double Homg3D::z |
( |
| ) |
const [inline, inherited] |
Member Data Documentation
The tolerance used in "near zero" tests in the Homg subclasses.
Definition at line 32 of file Homg.h.
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: