|
ATLAS Offline Software
|
Go to the documentation of this file.
64 isSame &= (
a.x ==
b.x);
65 isSame &= (
a.y ==
b.y);
91 , m_scaleIntFloat( 1 )
103 if (w_x<=0 || w_y<=0){
105 return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
152 return StatusCode::FAILURE;
158 construct_voronoi(mypts.begin(), mypts.end(), &vd);
163 int csi =
cell.source_index();
167 int csi_ngbr = edge->twin()->cell()->source_index() ;
168 if (edge->is_primary()){
177 }
while (edge !=
cell.incident_edge() );
198 if ( fabs(in-
out)/in > 1
e4) {
215 return StatusCode::FAILURE;
217 return StatusCode::SUCCESS;
223 std::deque<VoronoiPolygonBoost> pol3;
228 if ( !pol3.empty() ){
233 return area(pol3.at(0));
Point operator+(const Point &a, const Point &b)
boost::polygon::voronoi_diagram< double >::edge_type VoronoiEdgeBoost
boost::geometry::model::polygon< VoronoiPointBoost > VoronoiPolygonBoost
bool checkSameNumber(double in, double out, const std::string &description)
void FillVoroPolygon(VoronoiPolygonBoost &out) const
Diagram(const std::string &name)
double intersectionAndArea(JetVoronoiDiagramHelpers::Polygon const &geo1, JetVoronoiDiagramHelpers::Polygon const &geo2, JetVoronoiDiagramHelpers::Polygon &out)
bool operator==(const Point &a, const Point &b)
boost::polygon::voronoi_diagram< double > VoronoiBoost
Jakub Cuth May 2015.
bool operator!=(const Point &a, const Point &b)
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
StatusCode initialize()
Dummy implementation of the initialisation function.
boost::polygon::voronoi_diagram< double >::vertex_type VoronoiVtxBoost
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode checkStatus(const VoronoiBoost &vd, size_t n_cells_processed)
Point Norm(const Point &a)
boost::polygon::voronoi_diagram< double >::cell_type VoronoiCellBoost
StatusCode createVoronoiDiagram()
boost::geometry::model::d2::point_xy< double > VoronoiPointBoost
Point operator*(double a, const Point &b)
std::vector< double > m_area_cells
Point Center(const Point &a, const Point &b)
void Add(coord x, coord y)
#define ATH_MSG_WARNING(x)
size_t findPointIndex(const Point &a) const
Point interpolateInfinityVertex(const int i_a, const int i_b)
float getCellArea(const coord x, const coord y) const
Point operator-(const Point &a, const Point &b)
std::string description
glabal timer - how long have I taken so far?