multi_polygon.qbk 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
  4. Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
  5. Copyright (c) 2009-2012 Bruno Lalande, Paris, France.
  6. Use, modification and distribution is subject to the Boost Software License,
  7. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. http://www.boost.org/LICENSE_1_0.txt)
  9. =============================================================================/]
  10. [section:concept_multi_polygon MultiPolygon Concept]
  11. [heading Description]
  12. [concept MultiPolygon..multi polygon]
  13. [heading Concept Definition]
  14. The MultiPolygon Concept is defined as following:
  15. * There must be a specialization of the metafunction `traits::tag`, defining `multi_polygon_tag` as type
  16. * It must behave like a Boost.Range Random Access Range
  17. * The type defined by the metafunction `range_value<...>::type` must fulfill
  18. the [link geometry.reference.concepts.concept_polygon Polygon Concept]
  19. [heading Rules]
  20. Besides the Concepts, which are checks on compile-time, there are
  21. rules that valid MultiPolygons must fulfill. See the
  22. [link geometry.reference.concepts.concept_polygon Polygon Concept] for more information
  23. on the rules a polygon (and also a multi polygon) must fulfill.
  24. Additionally:
  25. * Individual polygons making up a multi-polygon may not intersect each other,
  26. but tangencies are allowed.
  27. * One polygon might be located within the interior ring of another polygon.
  28. [heading Available Models]
  29. * [link geometry.reference.models.model_multi_polygon model::multi_polygon]
  30. [endsect]