14 #ifndef BASICTOOL_GEOLINE_H 15 #define BASICTOOL_GEOLINE_H 56 void Pt1(
double const x,
double const y,
double const z);
57 void Pt2(
double const x,
double const y,
double const z);
71 template <
class T,
class U>
77 void Pt1(T
const& pt1)
85 void Pt2(T
const& pt2)
Point_t const & Pt2() const
Direction getter.
Float_t y1[n_points_granero]
Float_t x1[n_points_granero]
Line(T const &pt1, U const &pt2)
Alternative ctor using template (3)
virtual ~Line()
Default destructor.
Point_t _pt1
First point denoting infinite line.
Float_t y2[n_points_geant4]
Class def header for a class Point and Vector.
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely...
Vector_t _pt2
Second point denoting infinite line.
void Pt2(T const &pt2)
Pt2 setter template.
void Pt1(T const &pt1)
Pt1 setter template.
Vector Vector_t
Point has same feature as Vector.
Point_t const & Pt1() const
Start getter.
Float_t x2[n_points_geant4]
Line()
Default constructor.
void check_and_raise(Point_t const &p1, Point_t const &p2) const
Compatibility check.