19 #include <Eigen/Dense> 34 using Point = std::tuple<double,double,const reco::ClusterHit3D*>;
49 Vertex() : fCoords(0.,0.,0.), fHalfEdge(NULL) {}
66 fCoords[0] = coords[0];
67 fCoords[1] = coords[1];
68 fCoords[2] = coords[2];
99 fClusterHit3D(clusterHit3D)
136 m_targetVertex(NULL),
138 m_twinHalfEdge(NULL),
139 m_nextHalfEdge(NULL),
148 m_targetVertex(vertex),
150 m_twinHalfEdge(twin),
151 m_nextHalfEdge(next),
void setFaceArea(double area)
const reco::ClusterHit3D * getClusterHit3D() const
Vertex()
Vertex class definition for use in a doubly connected edge list a Vertex will contain the coordinates...
HalfEdge * getLastHalfEdge() const
void setCoords(const Coords &coords)
HalfEdge * getNextHalfEdge() const
std::list< HalfEdge > HalfEdgeList
void setHalfEdge(HalfEdge *half)
const bool onConvexHull() const
Face(HalfEdge *half, const Coords &coords, const reco::ClusterHit3D *clusterHit3D)
Face class definition for use in a doubly connected edge list A Face represents the area enclosed by ...
HalfEdge * getTwinHalfEdge() const
HalfEdge * m_lastHalfEdge
HalfEdge * m_nextHalfEdge
Vertex(const double *coords, HalfEdge *half)
Vertex(const Coords &coords, HalfEdge *half)
void setLastHalfEdge(HalfEdge *last)
void setTwinHalfEdge(HalfEdge *twin)
HalfEdge()
HalfEdge class definition for use in a doubly connected edge list The half edge class represents one ...
std::list< Face > FaceList
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
const Coords & getCoords() const
const HalfEdge * getHalfEdge() const
void setNextHalfEdge(HalfEdge *next)
void setCoords(const double *coords)
HalfEdge(Vertex *vertex, Face *face, HalfEdge *twin, HalfEdge *next, HalfEdge *last)
void setHalfEdge(HalfEdge *half)
Definition of utility objects for use in the 3D clustering for LArSoft.
HalfEdge * m_twinHalfEdge
std::list< Point > PointList
Vertex * getTargetVertex() const
const HalfEdge * getHalfEdge() const
const double getFaceArea() const
const Coords & getCoords() const
const reco::ClusterHit3D * fClusterHit3D
std::list< Vertex > VertexList
void setTargetVertex(Vertex *vertex)