3 // Copyright (c) 2017 Oracle and/or its affiliates.
4 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
6 // Use, modification and distribution is subject to the Boost Software License,
7 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
10 #ifndef BOOST_GEOMETRY_STRATEGY_GEOGRAPHIC_POINT_IN_POLY_WINDING_HPP
11 #define BOOST_GEOMETRY_STRATEGY_GEOGRAPHIC_POINT_IN_POLY_WINDING_HPP
14 #include <boost/geometry/strategies/geographic/side.hpp>
15 #include <boost/geometry/strategies/spherical/point_in_poly_winding.hpp>
18 namespace boost { namespace geometry
21 namespace strategy { namespace within
26 \brief Within detection using winding rule in geographic coordinate system.
28 \tparam Point \tparam_point
29 \tparam PointOfSegment \tparam_segment_point
30 \tparam FormulaPolicy Geodesic formula policy
31 \tparam Spheroid Spheroid model
32 \tparam CalculationType \tparam_calculation
36 [link geometry.reference.algorithms.within.within_3_with_strategy within (with strategy)]
42 typename PointOfSegment = Point,
43 typename FormulaPolicy = strategy::andoyer,
44 typename Spheroid = srs::spheroid<double>,
45 typename CalculationType = void
47 class geographic_winding
48 : public within::detail::spherical_winding_base
52 side::geographic<FormulaPolicy, Spheroid, CalculationType>,
56 typedef within::detail::spherical_winding_base
60 side::geographic<FormulaPolicy, Spheroid, CalculationType>,
68 explicit geographic_winding(Spheroid const& model)
74 }} // namespace strategy::within
77 }} // namespace boost::geometry
80 #endif // BOOST_GEOMETRY_STRATEGY_GEOGRAPHIC_POINT_IN_POLY_WINDING_HPP