Loading [MathJax]/extensions/TeX/newcommand.js
\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 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
4.12
cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 4.12 - 3D Polyhedral Surface
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Modules
Pages
Polyhedron/polyhedron_prog_simple.cpp
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Polyhedron_3.h>
typedef
CGAL::Simple_cartesian<double>
Kernel
;
typedef
CGAL::Polyhedron_3<Kernel>
Polyhedron;
typedef
Polyhedron::Halfedge_handle Halfedge_handle;
int
main() {
Polyhedron P;
Halfedge_handle h = P.
make_tetrahedron
();
if
( P.is_tetrahedron(h))
return
0;
return
1;
}