diff options
Diffstat (limited to 'boost/geometry/strategies/agnostic/point_in_poly_winding.hpp')
-rw-r--r-- | boost/geometry/strategies/agnostic/point_in_poly_winding.hpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp b/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp index e7b439b2e5..07342ae10b 100644 --- a/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp +++ b/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp @@ -61,20 +61,27 @@ struct winding_base_type template <typename Point, typename PointOfSegment, typename CalculationType> struct winding_base_type<Point, PointOfSegment, CalculationType, cartesian_tag> { - typedef within::cartesian_winding<void, void, CalculationType> type; + using type = within::detail::cartesian_winding_base + < + typename strategy::side::services::default_strategy + < + typename cs_tag<Point>::type + >::type, + CalculationType + >; }; template <typename Point, typename PointOfSegment, typename CalculationType> struct winding_base_type<Point, PointOfSegment, CalculationType, spherical_tag> { - typedef within::detail::spherical_winding_base + using type = within::detail::spherical_winding_base < typename strategy::side::services::default_strategy < typename cs_tag<Point>::type >::type, CalculationType - > type; + >; }; |