Concept

TriangleAccessor_3

Definition

The concept TriangleAccessor_3 represents an accessor to a triangulated polyhedral surface, intersection free and without boundaries.

Types

TriangleAccessor_3::Triangle_3
Triangle type. Must be a model of DefaultConstructible and CopyConstructible.

TriangleAccessor_3::Triangle_iterator
Triangle iterator type. Must be a model of InputIterator.

TriangleAccessor_3::Triangle_handle
Handle to a Triangle_3. Must be constructible from Triangle_iterator. It may be Triangle_Iterator itself.


TriangleAccessor_3::Polyhedron
Polyhedron type.

Operations

Triangle_iterator ta.triangles_begin ( Polyhedron p)
Returns a Triangle_iterator to visit the triangles of polyhedron p.
Triangle_iterator ta.triangles_end ( Polyhedron p) Returns the past-the-end iterator for the above iterator.
Triangle_3 ta.triangle ( Triangle_handle h) Returns a Triangle_3 object from handle h.

Has Models

Triangle_accessor_3<Polyhedron_3<K>,K>

See Also

CGAL::Polyhedral_mesh_domain_3<Polyhedron,IGT,TriangleAccessor>
CGAL::make_mesh_3