12#include <klm/eklm/geometry/Line2D.h>
15#include <CLHEP/Geometry/Point3D.h>
Line2D(double x, double y, double vecx, double vecy)
Constructor.
int findIntersection(const Circle2D &circle, HepGeom::Point3D< double > intersections[2]) const
Find intersections with a circle.
~LineSegment2D()
Destructor.
int findIntersection(const Line2D &line, HepGeom::Point3D< double > *intersection) const
Find intersection with a line.
LineSegment2D(const HepGeom::Point3D< double > &point1, const HepGeom::Point3D< double > &point2)
Constructor.
static bool tWithinRange(double t)
Check if t is within the line segment (0 <= t <= 1).
int findIntersection(const Arc2D &arc, HepGeom::Point3D< double > intersections[2]) const
Find intersections with an arc.
Abstract base class for different kinds of events.