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