47 Line(
const Point &point,
const float polar,
const float azimuth);
70 virtual ~Line() =
default;
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
Exception(std::string msg="")
Definition: Exception.h:30
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
Line2D Projection2D(RefFrame::View view) const
Computes the 2D projection of the line on a given view.
Definition: Line.cpp:290
float Polar() const
Returns the polar angle of the line with respect to the NEGATIVE Z axis.
Definition: Line.h:78
Vec3D Direction() const
Returns direction of the line.
Definition: Line.cpp:199
Axis
Aliases for the axes. RefFrame.h common/RefFrame.h.
Definition: RefFrame.h:31
Class describing a line in the 2D space.
Definition: Line2D.h:32
double MinimumDistanceToLine(const Line line) const
Computes the minimum distance between two lines.
Definition: Line.cpp:251
Point Origin() const
Returns the "point of origin" of the line.
Definition: Line.h:95
float _azimuth
Definition: Line.h:166
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Class describing a line in the 3D space.
Definition: Line.h:32
virtual ~Line()=default
Virtual destructor.
Line Projection(const Plane &plane) const
Computes the projection of the line on a given plane.
Definition: Line.cpp:261
Point _point
Definition: Line.h:164
double DistanceToPoint(const Point p) const
Computes the distance of a point to the line.
Definition: Line.cpp:245
Line()
Default Constructor.
Definition: Line.h:37
Point Intersection(RefFrame::Axis axis, float coo) const
Returns the line coordinate at given plane, defined by its normal axis and the coordinate along that ...
Definition: Line.cpp:211
Definition: Exception.h:24
float _polar
Definition: Line.h:165
Exception class for invalid operations on a line parallel to the Z axis.
Definition: Line.h:158
float Azimuth() const
Returns the azimuth angle of the line.
Definition: Line.cpp:192
View
Aliases for the three 2D projection planes. RefFrame.h common/RefFrame.h.
Definition: RefFrame.h:88
Class describing a Plane in the 3D space.
Definition: Plane.h:28