Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator > Class Template Reference

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

#include <ring.hpp>

Inheritance diagram for boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >:
Collaboration diagram for boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >:

Public Member Functions

 ring ()
 {ring} More...
 
template<typename Iterator >
 ring (Iterator begin, Iterator end)
 {ring} More...
 

Detailed Description

template<typename Point, bool ClockWise = true, bool Closed = true, template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
class boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >

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

Template Parameters
Pointpoint type
ClockWisetrue for clockwise direction, false for CounterClockWise direction
Closedtrue for closed polygons (last point == first point), false open points
Containercontainer type, for example std::vector, std::deque
Allocatorcontainer-allocator-type

{before.synopsis, [heading Model of] [link geometry.reference.concepts.concept_ring Ring Concept] }

Constructor & Destructor Documentation

template<typename Point, bool ClockWise = true, bool Closed = true, template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::ring ( )
inline

{ring}

template<typename Point, bool ClockWise = true, bool Closed = true, template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
template<typename Iterator >
boost::geometry::model::ring< Point, ClockWise, Closed, Container, Allocator >::ring ( Iterator  begin,
Iterator  end 
)
inline

{ring}


The documentation for this class was generated from the following file: