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