result_direct.hpp 879 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Boost.Geometry
  2. // Copyright (c) 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_DIRECT_HPP
  8. #define BOOST_GEOMETRY_FORMULAS_RESULT_DIRECT_HPP
  9. namespace boost { namespace geometry { namespace formula
  10. {
  11. template <typename T>
  12. struct result_direct
  13. {
  14. result_direct()
  15. : lon2(0)
  16. , lat2(0)
  17. , reverse_azimuth(0)
  18. , reduced_length(0)
  19. , geodesic_scale(1)
  20. {}
  21. T lon2;
  22. T lat2;
  23. T reverse_azimuth;
  24. T reduced_length;
  25. T geodesic_scale;
  26. };
  27. }}} // namespace boost::geometry::formula
  28. #endif // BOOST_GEOMETRY_FORMULAS_RESULT_DIRECT_HPP