\( \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.7 - 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. More...
 
typedef unspecified_type SHalfedge_handle
 const handle to SHalfedge. More...
 
typedef unspecified_type SHalfloop_handle
 const handle to SHalfloop. More...
 

Creation

 SFace_cycle_iterator ()
 default constructor. More...
 

Operations

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

Member Typedef Documentation

const handle to SHalfedge.

const handle to SHalfloop.

template<typename Traits >
typedef unspecified_type CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::SVertex_handle

const handle to SVertex.

Constructor & Destructor Documentation

template<typename Traits >
CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::SFace_cycle_iterator ( )

default constructor.

Member Function Documentation

template<typename Traits >
bool CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::is_shalfedge ( ) const

returns true if the iterator represents a SHalfedge_handle.

template<typename Traits >
bool CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::is_shalfloop ( ) const

returns true if the iterator represents a SHalfloop_handle.

template<typename Traits >
bool CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::is_svertex ( ) const

returns true if the iterator represents a SVertex_handle.

template<typename Traits >
CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::operator SHalfedge_handle ( ) const

casts the iterator to SHalfedge_handle.

template<typename Traits >
CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::operator SHalfloop_handle ( ) const

casts the iterator to SHalfloop_handle.

template<typename Traits >
CGAL::Nef_polyhedron_S2< Traits >::SFace_cycle_iterator::operator SVertex_handle ( ) const

casts the iterator to SVertex_handle.