Chris@16: // Boost.Geometry (aka GGL, Generic Geometry Library) Chris@16: Chris@101: // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. Chris@101: // Copyright (c) 2008-2015 Bruno Lalande, Paris, France. Chris@101: // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. Chris@101: Chris@101: // This file was modified by Oracle on 2015. Chris@101: // Modifications copyright (c) 2015, Oracle and/or its affiliates. Chris@101: Chris@101: // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle Chris@16: Chris@16: // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library Chris@16: // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. Chris@16: Chris@16: // Use, modification and distribution is subject to the Boost Software License, Chris@16: // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP Chris@16: #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP Chris@16: Chris@16: namespace boost { namespace geometry Chris@16: { Chris@16: Chris@16: #ifndef DOXYGEN_NO_DETAIL Chris@16: namespace detail Chris@16: { Chris@16: Chris@16: Chris@16: Chris@16: /*! Chris@16: \brief Structure negating the result of specified policy Chris@16: \tparam Geometry1 \tparam_geometry Chris@16: \tparam Geometry2 \tparam_geometry Chris@16: \tparam Policy Chris@16: \param geometry1 \param_geometry Chris@16: \param geometry2 \param_geometry Chris@16: \return Negation of the result of the policy Chris@16: */ Chris@101: template Chris@16: struct not_ Chris@16: { Chris@101: template Chris@101: static inline bool apply(Geometry1 const& geometry1, Chris@101: Geometry2 const& geometry2) Chris@16: { Chris@16: return ! Policy::apply(geometry1, geometry2); Chris@16: } Chris@16: }; Chris@16: Chris@16: Chris@16: } // namespace detail Chris@16: #endif // DOXYGEN_NO_DETAIL Chris@16: Chris@16: }} // namespace boost::geometry Chris@16: Chris@16: #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP