]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | ||
3 | // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. | |
4 | // Copyright (c) 2008-2014 Bruno Lalande, Paris, France. | |
5 | // Copyright (c) 2009-2014 Mateusz Loskot, London, UK. | |
6 | // Copyright (c) 2013-2014 Adam Wulkiewicz, Lodz, Poland | |
7 | ||
92f5a8d4 TL |
8 | // This file was modified by Oracle on 2013-2018. |
9 | // Modifications copyright (c) 2013-2018, Oracle and/or its affiliates. | |
7c673cae FG |
10 | |
11 | // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle | |
12 | // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle | |
13 | ||
14 | // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library | |
15 | // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. | |
16 | ||
17 | // Use, modification and distribution is subject to the Boost Software License, | |
18 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
19 | // http://www.boost.org/LICENSE_1_0.txt) | |
20 | ||
21 | #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_EQUALS_POINT_POINT_HPP | |
22 | #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_EQUALS_POINT_POINT_HPP | |
23 | ||
7c673cae FG |
24 | |
25 | namespace boost { namespace geometry | |
26 | { | |
27 | ||
7c673cae FG |
28 | #ifndef DOXYGEN_NO_DETAIL |
29 | namespace detail { namespace equals | |
30 | { | |
31 | ||
32 | /*! | |
33 | \brief Internal utility function to detect of points are disjoint | |
34 | \note To avoid circular references | |
35 | */ | |
92f5a8d4 TL |
36 | template <typename Point1, typename Point2, typename Strategy> |
37 | inline bool equals_point_point(Point1 const& point1, Point2 const& point2, | |
38 | Strategy const& ) | |
7c673cae | 39 | { |
92f5a8d4 | 40 | return Strategy::apply(point1, point2); |
7c673cae FG |
41 | } |
42 | ||
7c673cae FG |
43 | }} // namespace detail::equals |
44 | #endif // DOXYGEN_NO_DETAIL | |
45 | ||
7c673cae FG |
46 | }} // namespace boost::geometry |
47 | ||
48 | #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_EQUALS_POINT_POINT_HPP |