CGAL 5.6 - 3D Boolean Operations on Nef Polyhedra
Loading...
Searching...
No Matches
Nef_3/topological_operations.cpp
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
#include <cassert>
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
int main() {
Nef_polyhedron N;
std::cin >> N;
assert((N - N.boundary()) == N.interior());
assert(N.closure() == N.complement().interior().complement());
assert(N.regularization() == N.interior().closure());
return 0;
}
A 3D Nef polyhedron is a subset of the 3-dimensional space that is the result of forming complements ...
Definition: Nef_polyhedron_3.h:55