Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
Class List
Class Index
Class Hierarchy
Class Members
boost
geometry
concept
Ring
boost::geometry::concept::Ring< Geometry > Class Template Reference
geometry concepts: defines and checks concepts for geometries
ring concept
More...
Detailed Description
template<typename Geometry>
class boost::geometry::concept::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