#include <HomgLine3D.h>
Public Member Functions | |
HomgLine3D () | |
Constructor. | |
HomgLine3D (const HomgLine3D &) | |
Constructor. | |
HomgLine3D (const HomgPoint3D &point_finite, const HomgPoint3D &point_infinite) | |
Constructor, initialise using the specified distinct points on the line. | |
~HomgLine3D () | |
Destructor. | |
HomgPoint3D const & | get_point_finite () const |
HomgPoint3D & | get_point_finite () |
HomgPoint3D const & | get_point_infinite () const |
HomgPoint3D & | get_point_infinite () |
vnl_double_3 | dir () const |
Return line direction as a 3-vector. | |
void | force_point2_infinite () |
Push point2 off to infinity. | |
bool | operator== (HomgLine3D const &p) const |
Private Attributes | |
HomgPoint3D | point_finite_ |
any finite point on the line | |
HomgPoint3D | point_infinite_ |
Definition at line 22 of file HomgLine3D.h.
HomgLine3D::HomgLine3D | ( | ) |
Constructor.
Definition at line 15 of file HomgLine3D.cxx.
HomgLine3D::HomgLine3D | ( | const HomgLine3D & | that | ) |
Constructor.
Definition at line 22 of file HomgLine3D.cxx.
HomgLine3D::HomgLine3D | ( | const HomgPoint3D & | point_finite, |
const HomgPoint3D & | point_infinite | ||
) |
Constructor, initialise using the specified distinct points on the line.
Definition at line 31 of file HomgLine3D.cxx.
HomgLine3D::~HomgLine3D | ( | ) |
Destructor.
Definition at line 64 of file HomgLine3D.cxx.
vnl_double_3 HomgLine3D::dir | ( | ) | const |
Return line direction as a 3-vector.
Definition at line 82 of file HomgLine3D.cxx.
void HomgLine3D::force_point2_infinite | ( | void | ) |
Push point2 off to infinity.
Definition at line 77 of file HomgLine3D.cxx.
HomgPoint3D const& HomgLine3D::get_point_finite | ( | ) | const [inline] |
Definition at line 37 of file HomgLine3D.h.
HomgPoint3D& HomgLine3D::get_point_finite | ( | ) | [inline] |
Definition at line 38 of file HomgLine3D.h.
HomgPoint3D const& HomgLine3D::get_point_infinite | ( | ) | const [inline] |
Definition at line 39 of file HomgLine3D.h.
HomgPoint3D& HomgLine3D::get_point_infinite | ( | ) | [inline] |
Definition at line 40 of file HomgLine3D.h.
bool HomgLine3D::operator== | ( | HomgLine3D const & | p | ) | const [inline] |
Definition at line 45 of file HomgLine3D.h.
HomgPoint3D HomgLine3D::point_finite_ [private] |
any finite point on the line
Definition at line 25 of file HomgLine3D.h.
HomgPoint3D HomgLine3D::point_infinite_ [private] |
Definition at line 26 of file HomgLine3D.h.