1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
5 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
7 // This file was modified by Oracle on 2015.
8 // Modifications copyright (c) 2015, Oracle and/or its affiliates.
10 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
12 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
13 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
15 // Use, modification and distribution is subject to the Boost Software License,
16 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
17 // http://www.boost.org/LICENSE_1_0.txt)
19 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP
20 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP
22 namespace boost { namespace geometry
25 #ifndef DOXYGEN_NO_DETAIL
32 \brief Structure negating the result of specified policy
33 \tparam Geometry1 \tparam_geometry
34 \tparam Geometry2 \tparam_geometry
36 \param geometry1 \param_geometry
37 \param geometry2 \param_geometry
38 \return Negation of the result of the policy
40 template <typename Policy>
43 template <typename Geometry1, typename Geometry2>
44 static inline bool apply(Geometry1 const& geometry1,
45 Geometry2 const& geometry2)
47 return ! Policy::apply(geometry1, geometry2);
53 #endif // DOXYGEN_NO_DETAIL
55 }} // namespace boost::geometry
57 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP