39 Plane(
Point point,
const float polar,
const float azimuth);
59 Plane(std::array<Point, 3> points);
72 virtual ~Plane() =
default;
128 template <>
const Plane defaultValue<Plane> =
Plane();
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
float Azimuth() const
Returns the azimuth angle of the plane.
Definition: Plane.h:86
float Polar() const
Returns the polar angle of the normal of the plane with respect to the NEGATIVE Z axis...
Definition: Plane.h:80
Vec3D _normal
Definition: Plane.h:120
float PolarAngle() const
Compute the polar angle.
Definition: Vec3D.h:147
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Class describing a line in the 3D space.
Definition: Line.h:34
Point _point
Definition: Plane.h:119
float AzimuthAngle() const
Compute the azimuth angle.
Definition: Vec3D.h:157
Vec3D Normal() const
Returns the normal to the plane.
Definition: Plane.h:92
Plane(Point point, Vec3D normal)
Constructor.
Definition: Plane.h:49
Point Origin() const
Returns the "point of origin" of the plane.
Definition: Plane.h:100
float Mag() const
Compute the vector magnitude.
Definition: Vec3D.h:118
virtual ~Plane()=default
Virtual destructor.
Point Intersection(Line line) const
Returns the intersect between this plane and a Line If the plane and line are parallel, a point with the default coordinate: [std::numeric_limits<float>::max(), std::numeric_limits<float>::max(), std::numeric_limits<float>::max()].
Definition: Plane.cpp:48
Class describing a Plane in the 3D space.
Definition: Plane.h:28
Plane()
Default constructor.
Definition: Plane.cpp:46
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: Plane.h:116