mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Removed Point::scale(),translate(),coincides_with(),distance_to(),
distance_to_squared(),perp_distance_to(),negative(),vector_to(), translate(), distance_to() etc, replaced with the Eigen equivalents.
This commit is contained in:
parent
3b89717149
commit
1ba64da3fe
45 changed files with 526 additions and 792 deletions
|
@ -282,10 +282,12 @@ BridgeDetector::unsupported_edges(double angle, Polylines* unsupported) const
|
|||
extrusions would be anchored within such length (i.e. a slightly non-parallel bridging
|
||||
direction might still benefit from anchors if long enough)
|
||||
double angle_tolerance = PI / 180.0 * 5.0; */
|
||||
for (Lines::const_iterator line = unsupported_lines.begin(); line != unsupported_lines.end(); ++line) {
|
||||
if (!Slic3r::Geometry::directions_parallel(line->direction(), angle))
|
||||
unsupported->push_back(*line);
|
||||
}
|
||||
for (const Line &line : unsupported_lines)
|
||||
if (! Slic3r::Geometry::directions_parallel(line.direction(), angle)) {
|
||||
unsupported->emplace_back(Polyline());
|
||||
unsupported->back().points.emplace_back(line.a);
|
||||
unsupported->back().points.emplace_back(line.b);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue