/Src/Dependencies/Boost/libs/geometry/doc/reference/core/min_max_corner.qbk

http://hadesmem.googlecode.com/ · text · 31 lines · 22 code · 9 blank · 0 comment · 0 complexity · d16ed5e5ba037db71f5ed5ee85c29f8f MD5 · raw file

  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2011 Barend Gehrels, Amsterdam, the Netherlands.
  4. Use, modification and distribution is subject to the Boost Software License,
  5. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================/]
  8. [/File included by min_corner.qbk and max_corner.qbk]
  9. [heading Header]
  10. Either
  11. `#include <boost/geometry/geometry.hpp>`
  12. Or
  13. `#include <boost/geometry/core/access.hpp>`
  14. [note min_corner and max_corner are only applicable for boxes and not for,
  15. e.g., a segment]
  16. [note min_corner should be the minimal corner of a box, but that is not
  17. guaranteed. Use correct to make min_corner the minimal corner.
  18. The same applies for max_corner.]
  19. [/Share sample with get_box]
  20. [heading Example]
  21. [get_box]
  22. [get_box_output]