fix: compilation error for geometries using different point types

in sph distance_cross_track_box_box
This commit is contained in:
Adam Wulkiewicz 2025-01-10 23:58:51 +01:00
parent 9cedac0253
commit 225c4f2346

View File

@ -1,5 +1,7 @@
// Boost.Geometry (aka GGL, Generic Geometry Library) // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2025 Adam Wulkiewicz, Lodz, Poland.
// Copyright (c) 2016-2020 Oracle and/or its affiliates. // Copyright (c) 2016-2020 Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle // Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -45,11 +47,11 @@ class cross_track_box_box_generic
{ {
public : public :
template <typename Point, typename PPStrategy, typename PSStrategy> template <typename Point1, typename Point2, typename PPStrategy, typename PSStrategy>
ReturnType static inline diagonal_case(Point topA, ReturnType static inline diagonal_case(Point1 topA,
Point topB, Point2 topB,
Point bottomA, Point1 bottomA,
Point bottomB, Point2 bottomB,
bool north_shortest, bool north_shortest,
bool non_overlap, bool non_overlap,
PPStrategy pp_strategy, PPStrategy pp_strategy,