\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - 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.