CGAL::Nef_polyhedron_3<Traits>::Halffacet_cycle_iterator

Definition

The type Halffacet_cycle_iterator iterates over a list of Object_handles. Each item of that list can either be assigned to SHalfedge_handle or SHalfloop_handle. To find out which of these assignment works out, the member functions is_shalfedge() and is_shalfloop() are provided.

#include <CGAL/Nef_polyhedron_3.h>

Types

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

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

Creation

Nef_polyhedron_3<Traits>::Halffacet_cycle_iterator hfc;
default constructor.

Operations

bool hfc.is_shalfedge () returns true if hfc represents a SHalfedge_handle.
bool hfc.is_shalfloop () returns true if hfc represents a SHalfloop_handle.

SHalfedge_handle SHalfedge_handle ( hfc)
casts hfc to SHalfedge_handle.
SHalfloop_handle SHalfloop_handle ( hfc)
casts hfc to SHalfloop_handle.

See Also

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