diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:41:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:43:11 +0900 |
commit | f763a99a501650eff2c60288aa6f10ef916d769e (patch) | |
tree | 02af7e13f9a38c888ebf340fe764cbe7dae99da9 /boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp | |
parent | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (diff) | |
download | boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.gz boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.bz2 boost-f763a99a501650eff2c60288aa6f10ef916d769e.zip |
Imported Upstream version 1.62.0upstream/1.62.0
Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp b/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp index 0b3cb72747..85cdfbc02d 100644 --- a/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp +++ b/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp @@ -400,6 +400,8 @@ struct get_turn_info_for_endpoint IntersectionInfo const& inters, unsigned int ip_index, operation_type & op1, operation_type & op2) { + typedef typename cs_tag<typename TurnInfo::point_type>::type cs_tag; + boost::ignore_unused_variable_warning(i2); boost::ignore_unused_variable_warning(j2); boost::ignore_unused_variable_warning(ip_index); @@ -425,7 +427,7 @@ struct get_turn_info_for_endpoint } else if ( ip_j2 ) { - side_calculator<RobustPoint1, RobustPoint2, RobustPoint2> + side_calculator<cs_tag, RobustPoint1, RobustPoint2, RobustPoint2> side_calc(ri2, ri1, rj1, ri2, rj2, rk2); std::pair<operation_type, operation_type> @@ -476,7 +478,7 @@ struct get_turn_info_for_endpoint } else if ( ip_j2 ) { - side_calculator<RobustPoint1, RobustPoint2, RobustPoint2> + side_calculator<cs_tag, RobustPoint1, RobustPoint2, RobustPoint2> side_calc(ri2, rj1, ri1, ri2, rj2, rk2); std::pair<operation_type, operation_type> |