\( \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.6.2 - 2D Boolean Operations on Nef Polygons Embedded on the Sphere
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator Class Reference

#include <CGAL/Nef_polyhedron_S2.h>

Definition

The type SFace_cycle_iterator iterates over a list of Object_handles.

Each item of that list can either be assigned to SVertex_handle, SHalfedge_handle or SHalfloop_handle. To find out which of these assignment works out, the member functions is_svertex(), is_shalfedge() and is_shalfloop() are provided.

See Also
CGAL::Nef_polyhedron_S2::SVertex
CGAL::Nef_polyhedron_S2::SHalfedge
CGAL::Nef_polyhedron_S2::SHalfloop

Types

typedef unspecified_type SVertex_handle
 const handle to SVertex.
 
typedef unspecified_type SHalfedge_handle
 const handle to SHalfedge.
 
typedef unspecified_type SHalfloop_handle
 const handle to SHalfloop.
 

Creation

 SFace_cycle_iterator ()
 default constructor.
 

Operations

bool is_svertex () const
 returns true if the iterator represents a SVertex_handle.
 
bool is_shalfedge () const
 returns true if the iterator represents a SHalfedge_handle.
 
bool is_shalfloop () const
 returns true if the iterator represents a SHalfloop_handle.
 
 operator SVertex_handle () const
 casts the iterator to SVertex_handle.
 
 operator SHalfedge_handle () const
 casts the iterator to SHalfedge_handle.
 
 operator SHalfloop_handle () const
 casts the iterator to SHalfloop_handle.