min_max_corner.qbk 981 B

12345678910111213141516171819202122232425262728293031
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2009-2012 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.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]