LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
IEvent.h
Go to the documentation of this file.
1 
10 #ifndef IEvent_voronoi2d_h
11 #define IEvent_voronoi2d_h
12 
14 
15 // std includes
16 #include <vector>
17 #include <list>
18 #include <algorithm>
19 //------------------------------------------------------------------------------------------------------------------------------------------
20 
21 namespace voronoi2d
22 {
26 class BSTNode;
27 
28 class IEvent
29 {
30 public:
34  virtual ~IEvent() noexcept = default;
35 
40  virtual void setInvalid() const = 0;
41 
42  virtual bool isSite() const = 0;
43  virtual bool isCircle() const = 0;
44  virtual bool isValid() const = 0;
45 
46  virtual const dcel2d::Point& getPoint() const = 0;
47  virtual double xPos() const = 0;
48  virtual double yPos() const = 0;
49  virtual const dcel2d::Coords& getCoords() const = 0;
50  virtual const dcel2d::Coords& circleCenter() const = 0;
51 
52  virtual BSTNode* getBSTNode() const = 0;
53  virtual void setBSTNode(BSTNode*) = 0;
54 
55  virtual bool operator<(const IEvent& right) const = 0;
56 };
57 
58 } // namespace lar_cluster3d
59 #endif
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112
BSTNode class definiton specifically for use in constructing Voronoi diagrams. We are trying to follo...
Definition: BeachLine.h:32
virtual BSTNode * getBSTNode() const =0
virtual bool operator<(const IEvent &right) const =0
virtual bool isSite() const =0
virtual const dcel2d::Coords & circleCenter() const =0
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Definition: DCEL.h:34
virtual double yPos() const =0
virtual void setBSTNode(BSTNode *)=0
virtual bool isCircle() const =0
virtual bool isValid() const =0
virtual double xPos() const =0
Eigen::Vector3f Coords
Definition: DCEL.h:36
virtual void setInvalid() const =0
Interface for configuring the particular algorithm tool.
virtual const dcel2d::Coords & getCoords() const =0
virtual ~IEvent() noexcept=default
Virtual Destructor.
virtual const dcel2d::Point & getPoint() const =0