summaryrefslogtreecommitdiff
path: root/boost/geometry/formulas/vertex_longitude.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/formulas/vertex_longitude.hpp')
-rw-r--r--boost/geometry/formulas/vertex_longitude.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/boost/geometry/formulas/vertex_longitude.hpp b/boost/geometry/formulas/vertex_longitude.hpp
index cf63c10a0a..4be273126b 100644
--- a/boost/geometry/formulas/vertex_longitude.hpp
+++ b/boost/geometry/formulas/vertex_longitude.hpp
@@ -1,6 +1,6 @@
// Boost.Geometry
-// Copyright (c) 2016-2017 Oracle and/or its affiliates.
+// Copyright (c) 2016-2018 Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@@ -332,6 +332,23 @@ public :
}
};
+template <typename CT>
+class vertex_longitude<CT, cartesian_tag>
+{
+public :
+ template <typename Strategy>
+ static inline CT apply(CT& /*lon1*/,
+ CT& /*lat1*/,
+ CT& lon2,
+ CT& /*lat2*/,
+ CT const& /*vertex_lat*/,
+ CT& /*alp1*/,
+ Strategy const& /*azimuth_strategy*/)
+ {
+ return lon2;
+ }
+};
+
}}} // namespace boost::geometry::formula
#endif // BOOST_GEOMETRY_FORMULAS_MAXIMUM_LONGITUDE_HPP