\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 4.10.2 - 3D Boolean Operations on Nef Polyhedra
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
Nef_3/nef_3_simple.cpp
#include <
CGAL/Exact_integer.h
>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>
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);
CGAL_assertion (N0 == N1.complement());
CGAL_assertion (N0 != N1);
return
0;
}