CGAL::bbox_2

Definition

#include <CGAL/Polygon_2_algorithms.h>

template <class InputIterator, class Traits>
Bbox_2 bbox_2 ( InputIterator first, InputIterator last, Traits traits)
Returns the bounding box of the range [first,last).

Requirements

  1. Traits is a model of the concept PolygonTraits_2 . In fact, only the members Construct_bbox_2 and construct_bbox_2_object are used.
  2. InputIterator::value_type should be Traits::Point_2,

See Also

CGAL::Polygon_2<PolygonTraits_2, Container>