CGAL::Nef_polyhedron_3<Traits>::SFace_cycle_iterator

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.

#include <CGAL/Nef_polyhedron_3.h>

Types

Nef_polyhedron_3<Traits>::SFace_cycle_iterator::SVertex_handle
const handle to SVertex.

Nef_polyhedron_3<Traits>::SFace_cycle_iterator::SHalfedge_handle
const handle to SHalfedge.

Nef_polyhedron_3<Traits>::SFace_cycle_iterator::SHalfloop_handle
const handle to SHalfloop.

Creation

Nef_polyhedron_3<Traits>::SFace_cycle_iterator sfc;
default constructor.

Operations

bool sfc.is_svertex () returns true if sfc represents a SVertex_handle.
bool sfc.is_shalfedge ()
returns true if sfc represents a SHalfedge_handle.
bool sfc.is_shalfloop ()
returns true if sfc represents a SHalfloop_handle.

SVertex_handle SVertex_handle ( sfc)
casts sfc to SVertex_handle.
SHalfedge_handle SHalfedge_handle ( sfc)
casts sfc to SHalfedge_handle.
SHalfloop_handle SHalfloop_handle ( sfc)
casts sfc to SHalfloop_handle.

See Also

CGAL::Nef_polyhedron_3<Traits>::Halfedge
CGAL::Nef_polyhedron_3<Traits>::SHalfedge
CGAL::Nef_polyhedron_3<Traits>::SHalfloop