15 :
Line(x_min, y_min, z_min, x_max, y_max, z_max),
_radius(radius)
21 if (min.size() != 3 || max.size() != 3)
33 double angleMin = axis.
Angle(dirpt);
36 if (angleMin > 0.5 * 3.14)
return false;
41 angleMin = axis.
Angle(dirpt);
44 if (angleMin > 0.5 * 3.14)
return false;
double SqDist(Line_t const &line, Point_t const &pt) const
Class def header for a class GeoAlgoException.
Point_t _pt1
First point denoting infinite line.
double Angle(Vector const &obj) const
Compute a cross product of two vectors.
double _radius
Radius of the cylinder.
bool Contain(Point_t const &pt) const
Containment evaluation.
Cylinder()
Default constructor.
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely...
Vector_t _pt2
Second point denoting infinite line.
Class def header for a class Cylinder.