1 #ifndef BASICTOOL_GEOLINE_CXX 2 #define BASICTOOL_GEOLINE_CXX 14 const double x2,
const double y2,
const double z2)
45 if(p1.size()!=3)
throw GeoAlgoException(
"<<check_and_raise>> Pt1 is not 3 dimensional point!");
46 if(p2.size()!=3)
throw GeoAlgoException(
"<<check_and_raise>> Pt2 is not 3 dimensional point!");
47 if(p1 == p2)
throw GeoAlgoException(
"<<check_and_raise>> Two identical points not allowed for Line ctor!");
Float_t y1[n_points_granero]
Float_t x1[n_points_granero]
Class def header for a class Line.
const Point_t & Pt2() const
Direction getter.
Point_t _pt1
First point denoting infinite line.
Float_t y2[n_points_geant4]
const Point_t & Pt1() const
Start getter.
Vector_t _pt2
Second point denoting infinite line.
Float_t x2[n_points_geant4]
Line()
Default constructor.
void check_and_raise(const Point_t &p1, const Point_t &p2) const
Compatibility check.