Loading [MathJax]/extensions/tex2jax.js
CGAL Version:
master
6.0.1
latest
5.6.2
5.5.5
5.4.5
5.3.2
5.2.4
5.1.5
5.0.4
4.14.3
4.13.2
4.12.2
4.11.3
4.10.2
4.9.1
4.8.2
4.7
4.6.3
4.5.2
4.4
4.3
5.5.1
cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 5.5.1 - 3D Boolean Operations on Nef Polyhedra
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Nef_3/nef_3_simple.cpp
#include <
CGAL/Exact_integer.h
>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <cassert>
typedef
CGAL::Homogeneous<CGAL::Exact_integer>
Kernel
;
typedef
CGAL::Nef_polyhedron_3<Kernel>
Nef_polyhedron;
int
main() {
Nef_polyhedron N0(Nef_polyhedron::EMPTY);
Nef_polyhedron N1(Nef_polyhedron::COMPLETE);
assert(N0 == N1.complement());
assert(N0 != N1);
return
0;
}