mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
[geometry] Fixed compilation errors after merge
(part 1: trivial changes)
This commit is contained in:
@@ -57,7 +57,8 @@ struct get_turn_info_linear_areal
|
||||
typename cs_tag<typename TurnInfo::point_type>::type,
|
||||
Point1,
|
||||
Point2,
|
||||
typename TurnInfo::point_type
|
||||
typename TurnInfo::point_type,
|
||||
RescalePolicy
|
||||
> si;
|
||||
|
||||
typedef typename si::segment_intersection_strategy_type strategy;
|
||||
@@ -277,7 +278,7 @@ struct get_turn_info_linear_areal
|
||||
// degenerate points
|
||||
if (AssignPolicy::include_degenerate)
|
||||
{
|
||||
only_convert<TurnInfo>::apply(tp, result.template get<0>());
|
||||
only_convert::apply(tp, result.template get<0>());
|
||||
AssignPolicy::apply(tp, pi, qi, result.template get<0>(), result.template get<1>());
|
||||
*out++ = tp;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,8 @@ struct get_turn_info_linear_linear
|
||||
typename cs_tag<typename TurnInfo::point_type>::type,
|
||||
Point1,
|
||||
Point2,
|
||||
typename TurnInfo::point_type
|
||||
typename TurnInfo::point_type,
|
||||
RescalePolicy
|
||||
> si;
|
||||
|
||||
typedef typename si::segment_intersection_strategy_type strategy;
|
||||
@@ -361,7 +362,7 @@ struct get_turn_info_linear_linear
|
||||
// degenerate points
|
||||
if (AssignPolicy::include_degenerate)
|
||||
{
|
||||
only_convert<TurnInfo>::apply(tp, result.template get<0>());
|
||||
only_convert::apply(tp, result.template get<0>());
|
||||
AssignPolicy::apply(tp, pi, qi, result.template get<0>(), result.template get<1>());
|
||||
*out++ = tp;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ struct enriched_turn_operation_linear
|
||||
template <typename Geometry1,
|
||||
typename Geometry2,
|
||||
typename GetTurnPolicy
|
||||
= detail::get_turns::get_turn_info_type<Geometry1, Geometry2, overlay::calculate_distance_policy> >
|
||||
= detail::get_turns::get_turn_info_type<Geometry1, Geometry2, overlay::assign_null_policy> >
|
||||
struct get_turns
|
||||
{
|
||||
typedef typename geometry::point_type<Geometry1>::type point1_type;
|
||||
|
||||
@@ -21,8 +21,6 @@ namespace boost { namespace geometry
|
||||
{
|
||||
|
||||
#ifndef DOXYGEN_NO_DETAIL
|
||||
namespace detail
|
||||
{
|
||||
|
||||
namespace detail_dispatch
|
||||
{
|
||||
@@ -44,8 +42,10 @@ struct robust_type<CoordinateType, boost::true_type>
|
||||
typedef boost::long_long_type type;
|
||||
};
|
||||
|
||||
} // namespace dispatch
|
||||
} // namespace detail_dispatch
|
||||
|
||||
namespace detail
|
||||
{
|
||||
|
||||
template <typename CoordinateType>
|
||||
struct robust_type
|
||||
|
||||
Reference in New Issue
Block a user