123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- #ifndef BOOST_GEOMETRY_STRATEGIES_SPHERICAL_POINT_ORDER_HPP
- #define BOOST_GEOMETRY_STRATEGIES_SPHERICAL_POINT_ORDER_HPP
- #include <boost/geometry/core/tags.hpp>
- #include <boost/geometry/formulas/spherical.hpp>
- #include <boost/geometry/strategy/spherical/area.hpp>
- #include <boost/geometry/strategies/spherical/point_in_point.hpp>
- #include <boost/geometry/strategies/point_order.hpp>
- #include <boost/geometry/util/math.hpp>
- #include <boost/geometry/util/select_calculation_type.hpp>
- namespace boost { namespace geometry
- {
- namespace strategy { namespace point_order
- {
- template <typename CalculationType = void>
- struct spherical
- : strategy::area::spherical<double, CalculationType>
- {
- typedef area_tag version_tag;
-
- static strategy::area::spherical<double, CalculationType> get_area_strategy()
- {
- return strategy::area::spherical<double, CalculationType>();
- }
- };
- namespace services
- {
- template <>
- struct default_strategy<spherical_equatorial_tag>
- {
- typedef spherical<> type;
- };
- }
- }}
- }}
- #endif
|