mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 04:39:09 -07:00
Refactoring: renamed all contains_*() methods to contains() in C++
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user