annotate DEPENDENCIES/generic/include/boost/geometry/strategies/default_comparable_distance_result.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 // Boost.Geometry (aka GGL, Generic Geometry Library)
Chris@102 2
Chris@102 3 // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
Chris@102 4 // Copyright (c) 2008-2014 Bruno Lalande, Paris, France.
Chris@102 5 // Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
Chris@102 6
Chris@102 7 // This file was modified by Oracle on 2014.
Chris@102 8 // Modifications copyright (c) 2014, Oracle and/or its affiliates.
Chris@102 9
Chris@102 10 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
Chris@102 11
Chris@102 12 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
Chris@102 13 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
Chris@102 14
Chris@102 15 // Use, modification and distribution is subject to the Boost Software License,
Chris@102 16 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@102 17 // http://www.boost.org/LICENSE_1_0.txt)
Chris@102 18
Chris@102 19 #ifndef BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP
Chris@102 20 #define BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP
Chris@102 21
Chris@102 22 #include <boost/geometry/strategies/comparable_distance_result.hpp>
Chris@102 23
Chris@102 24
Chris@102 25 namespace boost { namespace geometry
Chris@102 26 {
Chris@102 27
Chris@102 28 /*!
Chris@102 29 \brief Meta-function defining return type of comparable_distance function
Chris@102 30 \ingroup distance
Chris@102 31 \note The strategy defines the return-type (so this situation is different
Chris@102 32 from length, where distance is sqr/sqrt, but length always squared)
Chris@102 33 */
Chris@102 34 template <typename Geometry1, typename Geometry2 = Geometry1>
Chris@102 35 struct default_comparable_distance_result
Chris@102 36 : comparable_distance_result<Geometry1, Geometry2, void>
Chris@102 37 {};
Chris@102 38
Chris@102 39
Chris@102 40 }} // namespace boost::geometry
Chris@102 41
Chris@102 42
Chris@102 43 #endif // BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_DISTANCE_RESULT_HPP