/Src/Dependencies/Boost/libs/geometry/doc/reference/algorithms/num_points.qbk

http://hadesmem.googlecode.com/ · text · 32 lines · 25 code · 7 blank · 0 comment · 0 complexity · bfe13d166d63da8aaeae77dc1457107f MD5 · raw file

  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2011 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2009-2011 Mateusz Loskot, London, UK.
  5. Copyright (c) 2009-2011 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. [heading Behavior]
  11. [table
  12. [[Case] [Behavior] ]
  13. [[__point__][[qbk_ret 1]]]
  14. [[__segment__][[qbk_ret 2]]]
  15. [[__box__][[qbk_ret 4]]]
  16. [[__range__][[qbk_ret boost::size(geometry)]]]
  17. [[__other__][[qbk_ret the sum of the number of points of its elements]]]
  18. [[Open geometries][[qbk_ret the sum of the number of points of its elements, it adds one for open (per ring) if specified]]]
  19. [[Closed geometries][[qbk_ret the sum of the number of points of its elements]]]
  20. ]
  21. [heading Complexity]
  22. Constant or Linear
  23. [heading Examples]
  24. [num_points]
  25. [num_points_output]