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