#include <CGAL/Simple_cartesian.h>
#include <CGAL/IO/Color.h>
#include <CGAL/Polyhedron_3.h>
template <class Refs>
struct My_face : public CGAL::HalfedgeDS_face_base<Refs> {
CGAL::IO::Color color;
};
template <class Refs, class Traits>
struct Face_wrapper {
typedef My_face<Refs> Face;
};
};
typedef CGAL::Simple_cartesian<double> Kernel;
typedef Polyhedron::Halfedge_handle Halfedge_handle;
int main() {
Polyhedron P;
h->facet()->color = CGAL::IO::red();
return 0;
}
A polyhedral surface Polyhedron_3 consists of vertices V, edges E, facets F and an incidence relation...
Definition Polyhedron_3.h:113
Halfedge_handle make_tetrahedron()
a tetrahedron is added to the polyhedral surface.
The class Polyhedron_items_3 is a model of the PolyhedronItems_3 concept.
Definition Polyhedron_items_3.h:35