perimeter.qbk 1002 B

12345678910111213141516171819202122232425262728293031
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
  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. [def __this_function__ perimeter]
  11. [heading_conformance_no_ogc __this_function__]
  12. [note PostGIS contains an algorithm with the same name and the
  13. same functionality.
  14. See the [@http://www.postgis.org/docs/ST_Perimeter.html PostGIS documentation].
  15. ]
  16. [heading Behavior]
  17. [table
  18. [[Case] [Behavior] ]
  19. [[__0dim__][Returns zero]]
  20. [[__1dim__][Returns zero]]
  21. [[__2dim__][Returns the perimeter]]
  22. ]
  23. [heading Complexity]
  24. Linear