OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
FillCornerSmoothing.hpp File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <utility>
#include <vector>
#include "../Point.hpp"
#include "../Polygon.hpp"
#include "../Polyline.hpp"
Include dependency graph for FillCornerSmoothing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::CornerSmoothing
class  Slic3r::CornerSmoother

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Typedefs

using Slic3r::CornerFilter = std::function<bool(const Vec2d &from, const Vec2d &to)>

Functions

double Slic3r::sanitize_smooth_factor (double smooth_factor)
void Slic3r::smooth_polyline_corners (Polyline &polyline, const CornerSmoothing &smoothing, const double max_corner_distance, const CornerFilter &corner_filter)
void Slic3r::smooth_polylines_corners (Polylines &polylines, const CornerSmoothing &smoothing, const double max_corner_distance, const CornerFilter &corner_filter)
void Slic3r::smooth_polygons_corners (Polygons &polygons, const CornerSmoothing &smoothing, const double max_corner_distance, const CornerFilter &corner_filter)

Class Documentation

◆ Slic3r::CornerSmoothing

struct Slic3r::CornerSmoothing
Class Members
double factor { 0. }
double tolerance { 0. }