mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Refactoring: renamed all contains_*() methods to contains() in C++
This commit is contained in:
parent
5deadc8f12
commit
634bc09e2c
14 changed files with 42 additions and 58 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue