[buffer] revert replacement of covered_by with within

This commit is contained in:
Barend Gehrels
2014-06-12 22:41:11 +02:00
parent 7531e541b2
commit bdd2cc1ac6
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ struct check_original<polygon_tag>
static inline int apply(Point const& point, Geometry const& geometry,
DistanceStrategy const& )
{
return geometry::within(point, geometry) ? 1 : -1;
return geometry::covered_by(point, geometry) ? 1 : -1;
}
};

View File

@@ -31,7 +31,7 @@ struct check_original<multi_polygon_tag>
template <typename Point, typename Geometry, typename DistanceStrategy>
static inline int apply(Point const& point, Geometry const& geometry, DistanceStrategy const& distance_strategy)
{
return geometry::within(point, geometry) ? 1 : -1;
return geometry::covered_by(point, geometry) ? 1 : -1;
}
};