1 #ifndef BASICTOOL_GEOCYLINDER_CXX
2 #define BASICTOOL_GEOCYLINDER_CXX
14 const double x_max,
const double y_max,
const double z_max,
16 : Line(x_min, y_min, z_min, x_max, y_max, z_max)
24 if(min.size()!=3 || max.size()!=3)
25 throw GeoAlgoException(
"Cylinder ctor accepts only 3D Point!");
35 double angleMin = axis.
Angle(dirpt);
38 if (angleMin > 0.5*3.14)
44 angleMin = axis.
Angle(dirpt);
47 if (angleMin > 0.5*3.14)
double SqDist(const Line_t &line, const Point_t &pt) const
Point_t _pt1
First point denoting infinite line.
recob::tracking::Point_t Point_t
double _radius
Radius of the cylinder.
Cylinder()
Default constructor.
bool Contain(const Point_t &pt) const
Containment evaluation.
Vector_t _pt2
Second point denoting infinite line.
recob::tracking::Vector_t Vector_t
double Angle(const Vector &obj) const
Compute a cross product of two vectors.