X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fgeometry%2Falgorithms%2Fdetail%2Foverlay%2Fget_turn_info_helpers.hpp;h=76e0f025849efb3509c1417734cfcf37f4dd2fae;hb=20effc670b57271cb089376d6d0800990e5218d5;hp=734b3051b1c8e09cead6af08d5b04c36b2e6c84c;hpb=a71831dadd1e1f3e0fa70405511f65cc33db0498;p=ceph.git diff --git a/ceph/src/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp b/ceph/src/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp index 734b3051b..76e0f0258 100644 --- a/ceph/src/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp +++ b/ceph/src/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp @@ -2,8 +2,8 @@ // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -// This file was modified by Oracle on 2013, 2014, 2015, 2017, 2018, 2019. -// Modifications copyright (c) 2013-2019 Oracle and/or its affiliates. +// This file was modified by Oracle on 2013-2020. +// Modifications copyright (c) 2013-2020 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle @@ -18,10 +18,7 @@ #include #include #include -#include // referring_segment -#include -#include -#include +#include #include #include @@ -249,13 +246,9 @@ public: TurnPoint, geometry::segment_ratio > intersection_point_type; - typedef policies::relate::segments_tupled + typedef policies::relate::segments_intersection_policy < - policies::relate::segments_intersection_points - < - intersection_point_type - >, - policies::relate::segments_direction + intersection_point_type > intersection_policy_type; typedef typename intersection_policy_type::return_type result_type; @@ -344,13 +337,9 @@ class intersection_info_base intersection_point_type; - typedef policies::relate::segments_tupled + typedef policies::relate::segments_intersection_policy < - policies::relate::segments_intersection_points - < - intersection_point_type - >, - policies::relate::segments_direction + intersection_point_type > intersection_policy_type; typedef typename intersection_policy_type::return_type result_type; @@ -440,22 +429,21 @@ public: typedef typename base::side_calculator_type side_calculator_type; typedef typename base::result_type result_type; - typedef typename boost::tuples::element<0, result_type>::type i_info_type; // intersection_info - typedef typename boost::tuples::element<1, result_type>::type d_info_type; // dir_info + typedef typename result_type::intersection_points_type i_info_type; + typedef typename result_type::direction_type d_info_type; intersection_info(UniqueSubRange1 const& range_p, UniqueSubRange2 const& range_q, UmbrellaStrategy const& umbrella_strategy, RobustPolicy const& robust_policy) - : base(range_p, range_q, - umbrella_strategy, robust_policy) + : base(range_p, range_q, umbrella_strategy, robust_policy) , m_intersection_strategy(umbrella_strategy) , m_robust_policy(robust_policy) {} inline result_type const& result() const { return base::m_result; } - inline i_info_type const& i_info() const { return base::m_result.template get<0>(); } - inline d_info_type const& d_info() const { return base::m_result.template get<1>(); } + inline i_info_type const& i_info() const { return base::m_result.intersection_points; } + inline d_info_type const& d_info() const { return base::m_result.direction; } inline side_strategy_type get_side_strategy() const {