Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:36:50

0001 // Boost.Geometry (aka GGL, Generic Geometry Library)
0002 
0003 // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
0004 // Copyright (c) 2008-2014 Bruno Lalande, Paris, France.
0005 // Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
0006 
0007 // This file was modified by Oracle on 2014.
0008 // Modifications copyright (c) 2014, Oracle and/or its affiliates.
0009 
0010 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
0011 
0012 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
0013 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
0014 
0015 // Use, modification and distribution is subject to the Boost Software License,
0016 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0017 // http://www.boost.org/LICENSE_1_0.txt)
0018 
0019 #ifndef BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP
0020 #define BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP
0021 
0022 #include <boost/geometry/strategies/comparable_distance_result.hpp>
0023 
0024 
0025 namespace boost { namespace geometry
0026 {
0027 
0028 /*!
0029 \brief Meta-function defining return type of comparable_distance function
0030 \ingroup distance
0031 \note The strategy defines the return-type (so this situation is different
0032     from length, where distance is sqr/sqrt, but length always squared)
0033  */
0034 template <typename Geometry1, typename Geometry2 = Geometry1>
0035 struct default_comparable_distance_result
0036     : comparable_distance_result<Geometry1, Geometry2, void>
0037 {};
0038 
0039 
0040 }} // namespace boost::geometry
0041 
0042 
0043 #endif // BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP