// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2014 Oracle and/or its affiliates. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle #ifndef BOOST_GEOMETRY_STRATEGY_AGNOSTIC_POINT_IN_POINT_HPP #define BOOST_GEOMETRY_STRATEGY_AGNOSTIC_POINT_IN_POINT_HPP #include #include #include namespace boost { namespace geometry { namespace strategy { namespace within { template < typename Point1, typename Point2 > struct point_in_point { static inline bool apply(Point1 const& point1, Point2 const& point2) { return detail::equals::equals_point_point(point1, point2); } }; #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS namespace services { template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; } // namespace services #endif }} // namespace strategy::within #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS namespace strategy { namespace covered_by { namespace services { template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; template struct default_strategy { typedef strategy::within::point_in_point::type> type; }; }}} // namespace strategy::covered_by::services #endif }} // namespace boost::geometry #endif // BOOST_GEOMETRY_STRATEGY_AGNOSTIC_POINT_IN_POINT_HPP