...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The Ring Concept describes the requirements for a ring type. All algorithms in Boost.Geometry will check any geometry arguments against the concept requirements.
Note | |
---|---|
Also called linear ring, but we explicitly refer to a filled feature here |
The Ring Concept is defined as following:
traits::tag
defining ring_tag
as
type
range_value<...>::type
must fulfill the Point
Concept
traits::point_order
defining the order or orientation of its points, clockwise
or counterclockwise
traits::closure
defining the closure, open
or closed
#include
boost/geometry/geometries/adapted/boost_polygon/ring.hpp>
)
#include
boost/geometry/geometries/adapted/std_as_ring.hpp>
)
#include
boost/geometry/geometries/adapted/std_as_ring.hpp>
)