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