Documented the bridge detector.
This commit is contained in:
parent
feb269c97c
commit
c514e731da
@ -10,10 +10,15 @@ namespace Slic3r {
|
||||
|
||||
class BridgeDetector {
|
||||
public:
|
||||
// The non-grown hole.
|
||||
ExPolygon expolygon;
|
||||
// Lower slices, all regions.
|
||||
ExPolygonCollection lower_slices;
|
||||
double extrusion_width; // scaled
|
||||
// Scaled extrusion width of the infill.
|
||||
double extrusion_width;
|
||||
// Angle resolution for the brute force search of the best bridging angle.
|
||||
double resolution;
|
||||
// The final optimal angle.
|
||||
double angle;
|
||||
|
||||
BridgeDetector(const ExPolygon &_expolygon, const ExPolygonCollection &_lower_slices, coord_t _extrusion_width);
|
||||
@ -24,7 +29,9 @@ class BridgeDetector {
|
||||
Polylines unsupported_edges(double angle = -1) const;
|
||||
|
||||
private:
|
||||
Polylines _edges; // representing the supporting edges
|
||||
// Open lines representing the supporting edges.
|
||||
Polylines _edges;
|
||||
// Closed polygons representing the supporting areas.
|
||||
ExPolygons _anchors;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user