Loading [MathJax]/extensions/TeX/AMSsymbols.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.4-beta1
cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 5.4 - 3D Polyhedral Surface
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
▼
CGAL 5.4 - 3D Polyhedral Surface
►
User Manual
►
Reference Manual
Refinement Relationships
Deprecated List
Is Model Relationships
Has Model Relationships
Bibliography
►
Class and Concept List
►
Examples
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;
}