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