Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely determine the line along which the line extends. It hides the point attributes from users for
protecting the dimensionality.
More...
#include <GeoLine.h>
Public Member Functions | |
Line () | |
Default constructor. More... | |
virtual | ~Line () |
Default destructor. More... | |
Line (const double x1, const double y1, const double z1, const double x2, const double y2, const double z2) | |
Alternative ctor (1) More... | |
Line (const Point_t &pt1, const Point_t &pt2) | |
Altenartive ctor (2) More... | |
const Point_t & | Pt1 () const |
Start getter. More... | |
const Point_t & | Pt2 () const |
Direction getter. More... | |
void | Pt1 (const double x, const double y, const double z) |
Pt1 setter. More... | |
void | Pt2 (const double x, const double y, const double z) |
Pt2 setter. More... | |
template<class T , class U > | |
Line (const T &pt1, const U &pt2) | |
Alternative ctor using template (3) More... | |
template<class T > | |
void | Pt1 (const T &pt1) |
Pt1 setter template. More... | |
template<class T > | |
void | Pt2 (const T &pt2) |
Pt2 setter template. More... | |
Line () | |
Default constructor. More... | |
virtual | ~Line () |
Default destructor. More... | |
Line (const double x1, const double y1, const double z1, const double x2, const double y2, const double z2) | |
Alternative ctor (1) More... | |
Line (const Point_t &pt1, const Point_t &pt2) | |
Altenartive ctor (2) More... | |
const Point_t & | Pt1 () const |
Start getter. More... | |
const Point_t & | Pt2 () const |
Direction getter. More... | |
void | Pt1 (const double x, const double y, const double z) |
Pt1 setter. More... | |
void | Pt2 (const double x, const double y, const double z) |
Pt2 setter. More... | |
template<class T , class U > | |
Line (const T &pt1, const U &pt2) | |
Alternative ctor using template (3) More... | |
template<class T > | |
void | Pt1 (const T &pt1) |
Pt1 setter template. More... | |
template<class T > | |
void | Pt2 (const T &pt2) |
Pt2 setter template. More... | |
Protected Member Functions | |
void | check_and_raise (const Point_t &p1, const Point_t &p2) const |
Compatibility check. More... | |
void | check_and_raise (const Point_t &p1, const Point_t &p2) const |
Compatibility check. More... | |
Protected Attributes | |
Point_t | _pt1 |
First point denoting infinite line. More... | |
Vector_t | _pt2 |
Second point denoting infinite line. More... | |
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely determine the line along which the line extends. It hides the point attributes from users for
protecting the dimensionality.
Definition at line 27 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.
geoalgo::Line::Line | ( | ) |
Default constructor.
Definition at line 6 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
|
inlinevirtual |
geoalgo::Line::Line | ( | const double | x1, |
const double | y1, | ||
const double | z1, | ||
const double | x2, | ||
const double | y2, | ||
const double | z2 | ||
) |
Alternative ctor (1)
Definition at line 11 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
Altenartive ctor (2)
Definition at line 17 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
|
inline |
Alternative ctor using template (3)
Definition at line 69 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.
geoalgo::Line::Line | ( | ) |
Default constructor.
|
inlinevirtual |
Default destructor.
Definition at line 35 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/GeoLine.h.
geoalgo::Line::Line | ( | const double | x1, |
const double | y1, | ||
const double | z1, | ||
const double | x2, | ||
const double | y2, | ||
const double | z2 | ||
) |
Alternative ctor (1)
|
inline |
Alternative ctor using template (3)
Definition at line 69 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/GeoLine.h.
Compatibility check.
Definition at line 41 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
Compatibility check.
const Point_t & geoalgo::Line::Pt1 | ( | ) | const |
Start getter.
Definition at line 22 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
const Point_t& geoalgo::Line::Pt1 | ( | ) | const |
Start getter.
void geoalgo::Line::Pt1 | ( | const double | x, |
const double | y, | ||
const double | z | ||
) |
Pt1 setter.
void geoalgo::Line::Pt1 | ( | const double | x, |
const double | y, | ||
const double | z | ||
) |
Pt1 setter.
Definition at line 25 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
|
inline |
Pt1 setter template.
Definition at line 75 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/GeoLine.h.
|
inline |
Pt1 setter template.
Definition at line 75 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.
const Point_t& geoalgo::Line::Pt2 | ( | ) | const |
Direction getter.
const Point_t & geoalgo::Line::Pt2 | ( | ) | const |
Direction getter.
Definition at line 23 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
void geoalgo::Line::Pt2 | ( | const double | x, |
const double | y, | ||
const double | z | ||
) |
Pt2 setter.
void geoalgo::Line::Pt2 | ( | const double | x, |
const double | y, | ||
const double | z | ||
) |
Pt2 setter.
Definition at line 33 of file larcorealg/larcorealg/GeoAlgo/GeoLine.cxx.
|
inline |
Pt2 setter template.
Definition at line 83 of file sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/GeoLine.h.
|
inline |
Pt2 setter template.
Definition at line 83 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.
|
protected |
First point denoting infinite line.
Definition at line 61 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.
|
protected |
Second point denoting infinite line.
Definition at line 62 of file larcorealg/larcorealg/GeoAlgo/GeoLine.h.