Function

CGAL::iterator_distance

Definition

The following function returns the distance between either two iterators or two circulators.

#include <CGAL/circulator.h>

template <class IC>
iterator_traits<IC>::difference_type
iterator_distance ( IC ic1, IC ic2)

See Also

circulator_size, circulator_distance, is_empty_range, Circulator_tag,
Assert_circulator_or_iterator, CGAL_For_all, Circulator.