Boost.Geometry    Boost C++ Libraries
boost::geometry::concepts::Ring< Geometry > Class Template Reference

ring concept More...

Detailed Description

template<typename Geometry>
class boost::geometry::concepts::Ring< Geometry >

ring concept

Formal definition:
The ring concept is defined as following:
  • there must be a specialization of traits::tag defining ring_tag as type
  • it must behave like a Boost.Range
  • there can optionally be a specialization of traits::point_order defining the order or orientation of its points, clockwise or counterclockwise.
  • it must implement a std::back_insert_iterator (This is the same as the for the concept Linestring, and described there)
Note
to fulfill the concepts, no traits class has to be specialized to define the point type.

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen