OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
ElephantFootCompensation.cpp File Reference
#include "Point.hpp"
#include "BoundingBox.hpp"
#include "Polygon.hpp"
#include "libslic3r.h"
#include "ClipperUtils.hpp"
#include "EdgeGrid.hpp"
#include "ExPolygon.hpp"
#include "ElephantFootCompensation.hpp"
#include "Flow.hpp"
#include "Geometry.hpp"
#include "Utils.hpp"
#include <algorithm>
#include <cmath>
#include <cassert>
#include <cstddef>
#include <vector>
#include <utility>
#include <math.h>
#include <limits>
#include "ExtrusionEntity.hpp"
Include dependency graph for ElephantFootCompensation.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::ResampledPoint

Namespaces

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

Functions

std::vector< float > Slic3r::contour_distance (const EdgeGrid::Grid &grid, const size_t idx_contour, const Slic3r::Points &contour, const std::vector< ResampledPoint > &resampled_point_parameters, double search_radius)
std::vector< float > Slic3r::contour_distance2 (const EdgeGrid::Grid &grid, const size_t idx_contour, const Slic3r::Points &contour, const std::vector< ResampledPoint > &resampled_point_parameters, double compensation, double search_radius)
Points Slic3r::resample_polygon (const Points &contour, double dist, std::vector< ResampledPoint > &resampled_point_parameters)
static void Slic3r::smooth_compensation_banded (const Points &contour, float band, std::vector< float > &compensation, float strength, size_t num_iterations)
static bool Slic3r::validate_expoly_orientation (const ExPolygon &expoly)
ExPolygon Slic3r::elephant_foot_compensation (const ExPolygon &input_expoly, double min_contour_width, const double compensation)
ExPolygon Slic3r::elephant_foot_compensation (const ExPolygon &input, const Flow &external_perimeter_flow, const double compensation)
ExPolygons Slic3r::elephant_foot_compensation (const ExPolygons &input, const Flow &external_perimeter_flow, const double compensation)
ExPolygons Slic3r::elephant_foot_compensation (const ExPolygons &input, double min_contour_width, const double compensation)