-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
Issue Details
The simple program below does not compile. However, if you exchange the placements of the statements:
#include <CGAL/convex_decomposition_3.h>
#include <CGAL/Nef_polyhedron_3.h>
The code compiles.
Source Code
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/convex_decomposition_3.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/Nef_3/SNC_indexed_items.h>
int main(int argc, char* argv[]) {
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
Kernel kernel;
using Polyhedral_mesh = CGAL::Polyhedron_3<Kernel>;
Polyhedral_mesh mesh;
CGAL::Nef_polyhedron_3<Kernel, CGAL::SNC_indexed_items> mesh_nef(mesh);
CGAL::convex_decomposition_3(mesh_nef);
return 0;
}
Environment
- Operating system (Windows/Mac/Linux, 32/64 bits): Ubuntu 22.04
- Compiler: gcc
- Release or debug mode: both
- Specific flags used (if any):
- CGAL version: 6.2 (latest)
- Boost version:
- Other libraries versions if used (Eigen, TBB, etc.):