12 const double x_max,
const double y_max,
const double z_max,
14 :
Line(x_min, y_min, z_min, x_max, y_max, z_max)
22 if(min.size()!=3 || max.size()!=3)
33 double angleMin = axis.
Angle(dirpt);
36 if (angleMin > 0.5*3.14)
42 angleMin = axis.
Angle(dirpt);
45 if (angleMin > 0.5*3.14)
double SqDist(const Line_t &line, const Point_t &pt) const
Class def header for a class GeoAlgoException.
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...
static int max(int a, int b)
bool Contain(const Point_t &pt) const
Containment evaluation.
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
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.