summaryrefslogtreecommitdiff
path: root/boost/geometry/strategies/spherical/distance_cross_track.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/strategies/spherical/distance_cross_track.hpp')
-rw-r--r--boost/geometry/strategies/spherical/distance_cross_track.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/geometry/strategies/spherical/distance_cross_track.hpp b/boost/geometry/strategies/spherical/distance_cross_track.hpp
index 82a2fb3d6f..db029dff90 100644
--- a/boost/geometry/strategies/spherical/distance_cross_track.hpp
+++ b/boost/geometry/strategies/spherical/distance_cross_track.hpp
@@ -352,6 +352,11 @@ public :
: m_strategy(s)
{}
+ //TODO: apply a more general strategy getter
+ inline Strategy get_distance_strategy() const
+ {
+ return m_strategy;
+ }
// It might be useful in the future
// to overload constructor with strategy info.
@@ -526,6 +531,11 @@ public :
: m_strategy(s)
{}
+ //TODO: apply a more general strategy getter
+ inline Strategy get_distance_strategy() const
+ {
+ return m_strategy;
+ }
// It might be useful in the future
// to overload constructor with strategy info.