CGAL 5.3 - 3D Boolean Operations on Nef Polyhedra
CGAL::Nef_polyhedron_3< Nef_polyhedronTraits_3, Nef_polyhedronItems_3 >::SFace_cycle_iterator Class Reference

#include <CGAL/Nef_polyhedron_3.h>

Definition

template<class Nef_polyhedronTraits_3, class Nef_polyhedronItems_3 = CGAL::Default_items<Nef_polyhedronTraits_3> class Nef_polyhedronMarks = bool>
class CGAL::Nef_polyhedron_3< Nef_polyhedronTraits_3, Nef_polyhedronItems_3 >::SFace_cycle_iterator

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_3::Halfedge
CGAL::Nef_polyhedron_3::SHalfedge
CGAL::Nef_polyhedron_3::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 sfc represents a SVertex_handle.
 
bool is_shalfedge () const
 returns true if sfc represents a SHalfedge_handle.
 
bool is_shalfloop () const
 returns true if sfc represents a SHalfloop_handle.
 
 operator SVertex_handle () const
 casts sfc to SVertex_handle.
 
 operator SHalfedge_handle () const
 casts sfc to SHalfedge_handle.
 
 operator SHalfloop_handle () const
 casts sfc to SHalfloop_handle.