Refactoring: renamed all contains_*() methods to contains() in C++

This commit is contained in:
Alessandro Ranellucci 2014-11-23 20:14:13 +01:00
parent 5deadc8f12
commit 634bc09e2c
14 changed files with 42 additions and 58 deletions

View file

@ -145,8 +145,8 @@ BridgeDetector::detect_angle()
// remove any line not having both endpoints within anchors
for (size_t i = 0; i < clipped_lines.size(); ++i) {
Line &line = clipped_lines[i];
if (!Slic3r::Geometry::contains_point(my_anchors, line.a)
|| !Slic3r::Geometry::contains_point(my_anchors, line.b)) {
if (!Slic3r::Geometry::contains(my_anchors, line.a)
|| !Slic3r::Geometry::contains(my_anchors, line.b)) {
clipped_lines.erase(clipped_lines.begin() + i);
--i;
}