1 #ifndef ZONE_PRIORITY_SORTING_H
2 #define ZONE_PRIORITY_SORTING_H
4 #include "mesher_cgal.h"
6 #include <CGAL/Side_of_triangle_mesh.h>
8 #include <CGAL/AABB_tree.h>
9 #include <CGAL/AABB_traits.h>
10 #include <CGAL/AABB_face_graph_triangle_primitive.h>
12 typedef CGAL::AABB_face_graph_triangle_primitive<Polyhedron> Primitive;
13 typedef CGAL::AABB_traits<K, Primitive> Traits;
14 typedef CGAL::AABB_tree<Traits> Tree;
16 typedef CGAL::Side_of_triangle_mesh<Polyhedron,K> Side_of_triangle_mesh;
23 bool operator() (
const std::unique_ptr<Zone>& z,
const std::unique_ptr<Zone>& w)
const
24 {
return fabs(z->get_priority() - w->get_priority()) < 1e-9 ? (z->get_id() < w->get_id()) : z->get_priority() < w->get_priority(); }
Definition: zone_priority_sorting.h:19
Definition: implicit_zone_function.h:17