Go to the documentation of this file.
40 Plane(
Point point,
const float polar,
const float azimuth);
60 Plane(std::array<Point, 3> points);
69 virtual ~Plane() =
default;
132 template <>
const Plane defaultValue<Plane> =
Plane();
double DistanceToPoint(const Point p) const
Computes the distance of a point to the plane.
Definition: Plane.cpp:61
float Mag() const
Compute the vector magnitude.
Definition: Vec3D.h:118
Class describing a Plane in the 3D space.
Definition: Plane.h:29
Point _point
Definition: Plane.h:123
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Vec3D Normal() const
Returns the normal to the plane.
Definition: Plane.h:89
virtual ~Plane()=default
Virtual destructor
float Azimuth() const
Returns the azimuth angle of the plane.
Definition: Plane.h:83
Class describing a line in the 3D space.
Definition: Line.h:37
float AzimuthAngle() const
Compute the azimuth angle.
Definition: Vec3D.h:166
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
Plane()
Default constructor.
Definition: Plane.cpp:46
float PolarAngle() const
Compute the polar angle.
Definition: Vec3D.h:156
Vec3D _normal
Definition: Plane.h:124
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: Plane.h:120
float Polar() const
Returns the polar angle of the normal of the plane with respect to the NEGATIVE Z axis.
Definition: Plane.h:77
Point Origin() const
Returns the "point of origin" of the plane.
Definition: Plane.h:97
std::optional< Point > Intersection(Line line) const
Returns the intersect between this plane and a Line If the plane and line are parallel,...
Definition: Plane.cpp:48
Plane(Point point, Vec3D normal)
Constructor.
Definition: Plane.h:50