10 #ifndef HERD_LINE2D_H_ 11 #define HERD_LINE2D_H_ Point Origin() const
Returns a point on the line.
Definition: Line2D.h:81
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
bool IsDegenerate() const
Checks if the line is degenerate.
Definition: Line2D.h:100
Exception(std::string msg="")
Definition: Exception.h:30
virtual ~Line2D()=default
Virtual destructor.
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
Point Intersection(float coo, RefFrame::Axis axis) const
Returns the line intersection with a given line parallel to one of the main axes, passing for a given...
Definition: Line2D.cpp:36
Exception class for invalid operations on a degenerate line.
Definition: Line2D.h:103
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
A class describing a vector in 3D space.
Definition: Vec3D.h:33
float _polar
Definition: Line2D.h:110
Line2D()
Default constructor.
Definition: Line2D.h:39
Point _point
Definition: Line2D.h:109
Definition: Exception.h:24
float Polar() const
Returns the angle of the line with respect to the positive abscissa.
Definition: Line2D.cpp:29