[formulas] [strategies] [distance] Change interface and earth radius in distance point segment geographic formula

This commit is contained in:
Vissarion Fysikopoulos
2017-08-30 15:04:01 +03:00
parent ca2ab199cf
commit dbe6df7ad3
4 changed files with 59 additions and 79 deletions

View File

@@ -40,13 +40,13 @@ typedef bg::strategy::distance::vincenty<stype> vincenty_pp;
// Strategies for point-segment distance
typedef bg::strategy::distance::cross_track_geo<bg::strategy::andoyer, stype, double>
typedef bg::strategy::distance::geographic_cross_track<bg::strategy::andoyer, stype, double>
andoyer_strategy;
typedef bg::strategy::distance::cross_track_geo<bg::strategy::thomas, stype, double>
typedef bg::strategy::distance::geographic_cross_track<bg::strategy::thomas, stype, double>
thomas_strategy;
typedef bg::strategy::distance::cross_track_geo<bg::strategy::vincenty, stype, double>
typedef bg::strategy::distance::geographic_cross_track<bg::strategy::vincenty, stype, double>
vincenty_strategy;
//===========================================================================