boost::geometry::model::ring
ring.hpp
typename Point Point
bool ClockWise ClockWise true
bool Closed Closed true
template< typename, typename > class Container Container std::vector
template< typename > class Allocator Allocator std::allocator
Container< Point, Allocator< Point > > typedef Container<Point, Allocator<Point> > boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::base_type base_type
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::BOOST_CONCEPT_ASSERT
((concept::Point< Point >))
BOOST_CONCEPT_ASSERT
(concept::Point< Point >)
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::ring
()
ring

Default constructor, creating an empty \1.

typename Iterator
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::ring
(Iterator begin, Iterator end)
ring
Iterator begin
Iterator end

Constructor with begin and end, filling the \1.

boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::ring
(std::initializer_list< Point > l)
ring
std::initializer_list< Point > l

Constructor taking std::initializer_list, filling the \1.

A ring (aka linear ring) is a closed line which should not be selfintersecting.

Point

point type

ClockWise

true for clockwise direction, false for CounterClockWise direction

Closed

true for closed polygons (last point == first point), false open points

Container

container type, for example std::vector, std::deque

Allocator

container-allocator-type

[include reference/geometries/ring.qbk] [heading Model of] [link geometry.reference.concepts.concept_ring Ring Concept]
- boost::geometry::model::ring
  base_type
- boost::geometry::model::ring
  BOOST_CONCEPT_ASSERT
- boost::geometry::model::ring
  ring
- boost::geometry::model::ring
  ring
- boost::geometry::model::ring
  ring