The class Polyhedron_items_with_id_3 is a model of the PolyhedronItems_3 concept. It provides definitions for vertices with points, halfedges, and faces with plane equations, all of them with an additional integer field which can be used to index the items in a Bgl algorithm. The polyhedron traits class must provide the respective types for the point and the plane equation. Vertices and facets both contain a halfedge handle to an incident halfedge.
#include <CGAL/Polyhedron_items_with_id_3.h>
typedef Traits::Point_3 | Point; | |
typedef CGAL::Tag_true | Supports_vertex_point; |
typedef Traits::Plane_3 | Plane; | |
typedef CGAL::Tag_true | Supports_face_plane; |
int | item.id () const | Returns the index. |
int& | item.id () | Returns a reference to the index stored in the item. |
Polyhedron_items_with_id_3 items; | |
default constructor.
|
Supported as required by the PolyhedronItems_3 concept.
CGAL::Polyhedron_3<Traits>
CGAL::Polyhedron_min_items_3
CGAL::HalfedgeDS_min_items
CGAL::HalfedgeDS_items_2
CGAL::HalfedgeDS_vertex_max_base_with_id<Refs>
CGAL::HalfedgeDS_halfedge_max_base_with_id<Refs>
CGAL::HalfedgeDS_face_max_base_with_id<Refs>