CGAL 5.4.4 - CGAL and the Boost Graph Library
CGAL::Polyhedron_items_with_id_3 Class Reference

#include <CGAL/Polyhedron_items_with_id_3.h>

Definition

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.

Is Model Of:
PolyhedronItems_3

Operations

Supported as required by the PolyhedronItems_3 concept.

Additional Methods in All Three Items

int id() const; // Returns the index.
int& id(); // Returns a reference to the index stored in the item.
See also
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>

Creation

 Polyhedron_items_with_id_3 ()
 Default constructor.