123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Boost.Geometry
- // Copyright (c) 2020-2021, Oracle and/or its affiliates.
- // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
- // Licensed under the Boost Software License version 1.0.
- // http://www.boost.org/users/license.html
- #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
- #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
- #include <boost/geometry/strategies/area/cartesian.hpp>
- #include <boost/geometry/strategies/azimuth/cartesian.hpp>
- #include <boost/geometry/strategies/convex_hull/cartesian.hpp>
- #include <boost/geometry/strategies/envelope/cartesian.hpp>
- #include <boost/geometry/strategies/expand/cartesian.hpp>
- #include <boost/geometry/strategies/io/cartesian.hpp>
- #include <boost/geometry/strategies/index/cartesian.hpp>
- #include <boost/geometry/strategies/relate/cartesian.hpp>
- namespace boost { namespace geometry
- {
-
- namespace strategies
- {
- template <typename CalculationType = void>
- class cartesian
- // derived from the umbrella strategy defining the most strategies
- : public strategies::index::cartesian<CalculationType>
- {
- public:
- static auto azimuth()
- {
- return strategy::azimuth::cartesian<CalculationType>();
- }
- static auto point_order()
- {
- return strategy::point_order::cartesian<CalculationType>();
- }
- };
- } // namespace strategies
- }} // namespace boost::geometry
- #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
|