#include <HomgLineSeg3D.h>

Public Member Functions | |
| HomgLineSeg3D () | |
| Default constructor. | |
| HomgLineSeg3D (const HomgPoint3D &point1, const HomgPoint3D &point2) | |
| Constructor forming line segment from start and end points. | |
| ~HomgLineSeg3D () | |
| Destructor. | |
| const HomgLine3D & | get_line () const |
| Return the line through the two points. | |
| const HomgPoint3D & | get_point1 () const |
| Return the first point of the line segment. | |
| const HomgPoint3D & | get_point2 () const |
| Return the second point of the line segment. | |
| void | set (const HomgPoint3D &point1, const HomgPoint3D &point2) |
| 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 | point1_ |
| HomgPoint3D | point2_ |
Definition at line 23 of file HomgLineSeg3D.h.
| HomgLineSeg3D::HomgLineSeg3D | ( | ) |
Default constructor.
Definition at line 16 of file HomgLineSeg3D.cxx.
| HomgLineSeg3D::HomgLineSeg3D | ( | const HomgPoint3D & | point1, |
| const HomgPoint3D & | point2 | ||
| ) |
Constructor forming line segment from start and end points.
Definition at line 23 of file HomgLineSeg3D.cxx.
| HomgLineSeg3D::~HomgLineSeg3D | ( | ) |
Destructor.
Definition at line 34 of file HomgLineSeg3D.cxx.
| vnl_double_3 HomgLine3D::dir | ( | ) | const [inherited] |
Return line direction as a 3-vector.
Definition at line 82 of file HomgLine3D.cxx.
| void HomgLine3D::force_point2_infinite | ( | void | ) | [inherited] |
Push point2 off to infinity.
Definition at line 77 of file HomgLine3D.cxx.
| const HomgLine3D & HomgLineSeg3D::get_line | ( | ) | const |
Return the line through the two points.
Definition at line 42 of file HomgLineSeg3D.cxx.
| const HomgPoint3D & HomgLineSeg3D::get_point1 | ( | ) | const |
Return the first point of the line segment.
Definition at line 50 of file HomgLineSeg3D.cxx.
| const HomgPoint3D & HomgLineSeg3D::get_point2 | ( | ) | const |
Return the second point of the line segment.
Definition at line 58 of file HomgLineSeg3D.cxx.
| HomgPoint3D const& HomgLine3D::get_point_finite | ( | ) | const [inline, inherited] |
Definition at line 37 of file HomgLine3D.h.
| HomgPoint3D& HomgLine3D::get_point_finite | ( | ) | [inline, inherited] |
Definition at line 38 of file HomgLine3D.h.
| HomgPoint3D const& HomgLine3D::get_point_infinite | ( | ) | const [inline, inherited] |
Definition at line 39 of file HomgLine3D.h.
| HomgPoint3D& HomgLine3D::get_point_infinite | ( | ) | [inline, inherited] |
Definition at line 40 of file HomgLine3D.h.
| bool HomgLine3D::operator== | ( | HomgLine3D const & | p | ) | const [inline, inherited] |
Definition at line 45 of file HomgLine3D.h.
| void HomgLineSeg3D::set | ( | const HomgPoint3D & | point1, |
| const HomgPoint3D & | point2 | ||
| ) |
Definition at line 67 of file HomgLineSeg3D.cxx.
HomgPoint3D HomgLineSeg3D::point1_ [private] |
Definition at line 26 of file HomgLineSeg3D.h.
HomgPoint3D HomgLineSeg3D::point2_ [private] |
Definition at line 27 of file HomgLineSeg3D.h.
1.7.5.1