mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
Moved slightly misplaced specialization...
[SVN r76004]
This commit is contained in:
@@ -272,17 +272,6 @@ struct distance: not_implemented<for_geometry<Tag1>,
|
||||
{};
|
||||
|
||||
|
||||
template <typename P1, typename P2, typename Strategy>
|
||||
struct distance
|
||||
<
|
||||
P1, P2, Strategy,
|
||||
point_tag, point_tag, strategy_tag_distance_point_point,
|
||||
false
|
||||
>
|
||||
: detail::distance::point_to_point<P1, P2, Strategy>
|
||||
{};
|
||||
|
||||
|
||||
// If reversal is needed, perform it
|
||||
template
|
||||
<
|
||||
@@ -350,6 +339,18 @@ struct distance
|
||||
};
|
||||
|
||||
|
||||
// Point-point
|
||||
template <typename P1, typename P2, typename Strategy>
|
||||
struct distance
|
||||
<
|
||||
P1, P2, Strategy,
|
||||
point_tag, point_tag, strategy_tag_distance_point_point,
|
||||
false
|
||||
>
|
||||
: detail::distance::point_to_point<P1, P2, Strategy>
|
||||
{};
|
||||
|
||||
|
||||
// Point-line version 1, where point-point strategy is specified
|
||||
template <typename Point, typename Linestring, typename Strategy>
|
||||
struct distance
|
||||
|
||||
Reference in New Issue
Block a user