Boost.Geometry    Boost C++ Libraries
Public Member Functions | List of all members
boost::geometry::model::multi_polygon< Polygon, Container, Allocator > Class Template Reference

multi_polygon, a collection of polygons More...

Inheritance diagram for boost::geometry::model::multi_polygon< Polygon, Container, Allocator >:

Public Member Functions

 multi_polygon ()
 Default constructor, creating an empty multi_polygon. More...
 
 multi_polygon (std::initializer_list< Polygon > l)
 Constructor taking std::initializer_list, filling the multi_polygon. More...
 

Detailed Description

template<typename Polygon, template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
class boost::geometry::model::multi_polygon< Polygon, Container, Allocator >

multi_polygon, a collection of polygons

Multi-polygon can be used to group polygons belonging to each other, e.g. Hawaii

Examples:
03_polygon_example.cpp.

Constructor & Destructor Documentation

template<typename Polygon , template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
boost::geometry::model::multi_polygon< Polygon, Container, Allocator >::multi_polygon ( )

Default constructor, creating an empty multi_polygon.

template<typename Polygon , template< typename, typename > class Container = std::vector, template< typename > class Allocator = std::allocator>
boost::geometry::model::multi_polygon< Polygon, Container, Allocator >::multi_polygon ( std::initializer_list< Polygon >  l)

Constructor taking std::initializer_list, filling the multi_polygon.


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