/usr/include/boost/geometry/strategies/cartesian
Edit: /usr/include/boost/geometry/strategies/cartesian/io.hpp (1873B)
// Boost.Geometry
// Copyright (c) 2019, 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_EXTENSIONS_STRATEGIES_CARTESIAN_IO_HPP
#define BOOST_GEOMETRY_EXTENSIONS_STRATEGIES_CARTESIAN_IO_HPP
#include
#include
#include
namespace boost { namespace geometry
{
namespace strategy { namespace io
{
template
struct cartesian
{
typedef strategy::point_order::cartesian point_order_strategy_type;
static inline point_order_strategy_type get_point_order_strategy()
{
return point_order_strategy_type();
}
template
struct point_in_geometry_strategy
{
typedef strategy::within::cartesian_winding
<
typename point_type::type,
typename point_type::type,
CalculationType
> type;
};
template
static inline typename point_in_geometry_strategy::type
get_point_in_geometry_strategy()
{
typedef typename point_in_geometry_strategy
<
Geometry1, Geometry2
>::type strategy_type;
return strategy_type();
}
};
namespace services
{
template <>
struct default_strategy
{
typedef cartesian<> type;
};
} // namespace services
}} // namespace strategy::io
}} // namespace boost::geometry
#endif // BOOST_GEOMETRY_EXTENSIONS_STRATEGIES_CARTESIAN_IO_HPP