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)
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.
double _radius
Radius of the cylinder.
Cylinder()
Default constructor.
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely...
bool Contain(const Point_t &pt) const
Containment evaluation.
Vector_t _pt2
Second point denoting infinite line.
Class def header for a class Cylinder.
double Angle(const Vector &obj) const
Compute a cross product of two vectors.