Processing math: 100%
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
cgal.org
Top
Getting Started
Organization of the Manual
Package Overview
Acknowledging CGAL
CGAL 4.7 - 3D Polyhedral Surface
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
CGAL 4.7 - 3D Polyhedral Surface
User Manual
Reference Manual
Refinement Relationships
Is Model Relationships
Has Model Relationships
Type Requirements
Bibliographic References
Class and Concept List
Examples
Polyhedron/polyhedron_prog_color.cpp
Polyhedron/polyhedron_prog_cube.cpp
Polyhedron/polyhedron_prog_incr_builder.cpp
Polyhedron/polyhedron_prog_normals.cpp
Polyhedron/polyhedron_prog_off.cpp
Polyhedron/polyhedron_prog_planes.cpp
Polyhedron/polyhedron_prog_simple.cpp
Polyhedron/polyhedron_prog_subdiv.cpp
Polyhedron/polyhedron_prog_tetra.cpp
Polyhedron/polyhedron_prog_vector.cpp
Polyhedron_IO/polyhedron2vrml.cpp
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;
}