result_inverse.hpp 903 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Boost.Geometry
  2. // Copyright (c) 2015-2016 Oracle and/or its affiliates.
  3. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_GEOMETRY_FORMULAS_RESULT_INVERSE_HPP
  8. #define BOOST_GEOMETRY_FORMULAS_RESULT_INVERSE_HPP
  9. namespace boost { namespace geometry { namespace formula
  10. {
  11. template <typename T>
  12. struct result_inverse
  13. {
  14. result_inverse()
  15. : distance(0)
  16. , azimuth(0)
  17. , reverse_azimuth(0)
  18. , reduced_length(0)
  19. , geodesic_scale(1)
  20. {}
  21. T distance;
  22. T azimuth;
  23. T reverse_azimuth;
  24. T reduced_length;
  25. T geodesic_scale;
  26. };
  27. }}} // namespace boost::geometry::formula
  28. #endif // BOOST_GEOMETRY_FORMULAS_RESULT_INVERSE_HPP