File indexing completed on 2025-01-30 09:42:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_HPP
0011 #define BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_HPP
0012
0013
0014 #include <boost/geometry/strategies/area/geographic.hpp>
0015 #include <boost/geometry/strategies/azimuth/geographic.hpp>
0016 #include <boost/geometry/strategies/buffer/geographic.hpp>
0017 #include <boost/geometry/strategies/convex_hull/geographic.hpp>
0018 #include <boost/geometry/strategies/distance/geographic.hpp>
0019 #include <boost/geometry/strategies/envelope/geographic.hpp>
0020 #include <boost/geometry/strategies/expand/geographic.hpp>
0021 #include <boost/geometry/strategies/io/geographic.hpp>
0022 #include <boost/geometry/strategies/index/geographic.hpp>
0023 #include <boost/geometry/strategies/is_convex/geographic.hpp>
0024 #include <boost/geometry/strategies/relate/geographic.hpp>
0025 #include <boost/geometry/strategies/simplify/geographic.hpp>
0026
0027
0028 namespace boost { namespace geometry
0029 {
0030
0031
0032 namespace strategies
0033 {
0034
0035
0036 template
0037 <
0038 typename FormulaPolicy = strategy::andoyer,
0039 typename Spheroid = srs::spheroid<double>,
0040 typename CalculationType = void
0041 >
0042 class geographic
0043
0044 : public index::geographic<FormulaPolicy, Spheroid, CalculationType>
0045 {
0046 using base_t = index::geographic<FormulaPolicy, Spheroid, CalculationType>;
0047
0048 public:
0049 geographic() = default;
0050
0051 explicit geographic(Spheroid const& spheroid)
0052 : base_t(spheroid)
0053 {}
0054
0055 auto azimuth() const
0056 {
0057 return strategy::azimuth::geographic
0058 <
0059 FormulaPolicy, Spheroid, CalculationType
0060 >(base_t::m_spheroid);
0061 }
0062
0063 auto point_order() const
0064 {
0065 return strategy::point_order::geographic
0066 <
0067 FormulaPolicy, Spheroid, CalculationType
0068 >(base_t::m_spheroid);
0069 }
0070 };
0071
0072
0073 }
0074
0075
0076 }}
0077
0078
0079 #endif