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(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...
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.