mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
[strategies] Remove Geometry parameter from side in convex_hull strategies
This commit is contained in:
parent
0df77e40c9
commit
c79b9a60b7
@ -215,7 +215,7 @@ public:
|
||||
|
||||
container_type lower_points, upper_points;
|
||||
|
||||
auto side_strategy = strategy.side(geometry);
|
||||
auto side_strategy = strategy.side();
|
||||
|
||||
// Bounding left/right points
|
||||
// Second pass, now that extremes are found, assign all points
|
||||
|
@ -25,8 +25,7 @@ template <typename CalculationType = void>
|
||||
class cartesian : strategies::detail::cartesian_base
|
||||
{
|
||||
public:
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return strategy::side::side_robust<CalculationType>();
|
||||
}
|
||||
|
@ -41,8 +41,7 @@ public:
|
||||
: base_t(spheroid)
|
||||
{}
|
||||
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return strategy::side::geographic
|
||||
<
|
||||
|
@ -30,8 +30,7 @@ template
|
||||
class spherical : strategies::detail::spherical_base<RadiusTypeOrSphere>
|
||||
{
|
||||
public:
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return strategy::side::spherical_side_formula<CalculationType>();
|
||||
}
|
||||
|
@ -40,8 +40,7 @@
|
||||
|
||||
struct robust_cartesian : boost::geometry::strategies::detail::cartesian_base
|
||||
{
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return boost::geometry::strategy::side::side_robust<>();
|
||||
}
|
||||
@ -49,8 +48,7 @@ struct robust_cartesian : boost::geometry::strategies::detail::cartesian_base
|
||||
|
||||
struct non_robust_cartesian_fast : boost::geometry::strategies::detail::cartesian_base
|
||||
{
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return boost::geometry::strategy::side::side_non_robust<>();
|
||||
}
|
||||
@ -58,8 +56,7 @@ struct non_robust_cartesian_fast : boost::geometry::strategies::detail::cartesia
|
||||
|
||||
struct non_robust_cartesian_sbt : boost::geometry::strategies::detail::cartesian_base
|
||||
{
|
||||
template <typename Geometry>
|
||||
static auto side(Geometry const&)
|
||||
static auto side()
|
||||
{
|
||||
return boost::geometry::strategy::side::side_by_triangle<>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user