From 53b5ef3dff4eb0772245ff4bc78ba2cf1380ea2c Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 11 Jun 2015 01:32:00 +0300 Subject: [PATCH] [strategies][distance][cross track] expose the radius type as a typedef (same as for projected_point distance strategy) --- .../geometry/strategies/spherical/distance_cross_track.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/geometry/strategies/spherical/distance_cross_track.hpp b/include/boost/geometry/strategies/spherical/distance_cross_track.hpp index 31993e76c..31b59e77f 100644 --- a/include/boost/geometry/strategies/spherical/distance_cross_track.hpp +++ b/include/boost/geometry/strategies/spherical/distance_cross_track.hpp @@ -340,6 +340,8 @@ public : > {}; + typedef typename Strategy::radius_type radius_type; + inline cross_track() {} @@ -492,6 +494,8 @@ public : > {}; + typedef typename Strategy::radius_type radius_type; + inline cross_track() {}