CGAL 5.2.2 - 2D Triangulation
CGAL::Constrained_triangulation_plus_2< Tr >::Context Class Reference

#include <CGAL/Constrained_triangulation_plus_2.h>

Definition

A context enables the access to the vertices of a constraint that pass through a subconstraint.

Public Member Functions

Constraint_id id () const
 returns the constraint id.
 
Vertices_in_constraint_iterator vertices_begin () const
 returns the first vertex of the enclosing constraint.
 
Vertices_in_constraint_iterator vertices_end () const
 returns the past-the-end of the vertices of the enclosing constraint.
 
Vertices_in_constraint_iterator current () const
 returns the iterator vici of the enclosing constraint for which *vici and *std::next(vici) correspond to the two vertices of the subconstraint.