Add Missing Includes Across src/libslic3r

Every libslic3r source and header now directly includes the headers declaring what it uses, rather than relying on the precompiled header or transitive includes. Generated with clang-tidy misc-include-cleaner, with libslic3r headers spelled libslic3r/... so they resolve outside the library's private include paths. MultiMaterialSegmentation.hpp, Support/SupportParameters.hpp and Format/STEP.hpp are made self-contained by hand.
This commit is contained in:
Hanif Koh
2026-10-02 21:46:20 +08:00
parent 71bf74dc2e
commit fdf8ef7852
456 changed files with 3917 additions and 0 deletions
@@ -1,3 +1,6 @@
#include "Point.hpp"
#include "BoundingBox.hpp"
#include "Polygon.hpp"
#include "clipper/clipper_z.hpp"
#include "libslic3r.h"
@@ -10,8 +13,14 @@
#include "SVG.hpp"
#include "Utils.hpp"
#include <algorithm>
#include <cmath>
#include <cassert>
#include <cstddef>
#include <vector>
#include <utility>
#include <math.h>
#include <limits>
// #define CONTOUR_DISTANCE_DEBUG_SVG