default_area_result.hpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
  3. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
  4. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
  5. // Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
  6. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
  7. // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
  8. // Use, modification and distribution is subject to the Boost Software License,
  9. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  10. // http://www.boost.org/LICENSE_1_0.txt)
  11. #ifndef BOOST_GEOMETRY_ALGORITHMS_DEFAULT_AREA_RESULT_HPP
  12. #define BOOST_GEOMETRY_ALGORITHMS_DEFAULT_AREA_RESULT_HPP
  13. #include <boost/geometry/algorithms/area_result.hpp>
  14. namespace boost { namespace geometry
  15. {
  16. /*!
  17. \brief Meta-function defining return type of area function, using the default strategy
  18. \ingroup area
  19. \note The strategy defines the return-type (so this situation is different
  20. from length, where distance is sqr/sqrt, but length always squared)
  21. */
  22. template <typename Geometry>
  23. struct default_area_result
  24. : area_result<Geometry>
  25. {};
  26. }} // namespace boost::geometry
  27. #endif // BOOST_GEOMETRY_ALGORITHMS_DEFAULT_AREA_RESULT_HPP