mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-16 12:18:09 +00:00
Added thirdparty: boost library
This commit is contained in:
+61
@@ -0,0 +1,61 @@
|
||||
// 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/buffer/cartesian.hpp>
|
||||
#include <boost/geometry/strategies/convex_hull/cartesian.hpp>
|
||||
#include <boost/geometry/strategies/distance/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/is_convex/cartesian.hpp>
|
||||
#include <boost/geometry/strategies/relate/cartesian.hpp>
|
||||
#include <boost/geometry/strategies/simplify/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
|
||||
Reference in New Issue
Block a user