mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-31 08:12:13 +00:00
[srs] Add missing include and fix unused variable warnings.
This commit is contained in:
@@ -145,8 +145,6 @@ namespace projections
|
||||
template <typename T, typename Par, typename ProjParm>
|
||||
inline void e_inverse(T& xy_x, T& xy_y, T& lp_lon, T& lp_lat, Par const& par, ProjParm const& proj_parm)
|
||||
{
|
||||
static const T HALFPI = detail::HALFPI<T>();
|
||||
|
||||
T c;
|
||||
|
||||
if ((c = boost::math::hypot(xy_x, xy_y)) < EPS10) {
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
#include <boost/geometry/srs/projections/impl/base_dynamic.hpp>
|
||||
#include <boost/geometry/srs/projections/impl/projects.hpp>
|
||||
#include <boost/geometry/srs/projections/impl/factory_entry.hpp>
|
||||
#include <boost/geometry/srs/projections/impl/function_overloads.hpp>
|
||||
|
||||
namespace boost { namespace geometry
|
||||
{
|
||||
|
||||
@@ -488,7 +488,6 @@ namespace projections
|
||||
inline void combine_caps(T& xy_x, T& xy_y, int north_square, int south_square,
|
||||
int inverse)
|
||||
{
|
||||
static const T ONEPI = detail::ONEPI<T>();
|
||||
static const T HALFPI = detail::HALFPI<T>();
|
||||
static const T FORTPI = detail::FORTPI<T>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user