Fix build on linux/clang 13 (#7203)

* Include missing headers

* Disambiguate nested template function for clang 13
This commit is contained in:
Yuri D'Elia 2021-11-01 08:02:20 +01:00 committed by GitHub
parent a94f1b332a
commit 0074df9c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,9 @@
#include "../Polygon.hpp"
#include <numeric>
#include <boost/log/trivial.hpp>
namespace Slic3r { namespace Geometry {
Point circle_center_taubin_newton(const Points::const_iterator& input_begin, const Points::const_iterator& input_end, size_t cycles)

View file

@ -1,6 +1,10 @@
#ifndef slic3r_Geometry_Circle_hpp_
#define slic3r_Geometry_Circle_hpp_
#include "../Point.hpp"
#include <Eigen/Geometry>
namespace Slic3r { namespace Geometry {
/// Find the center of the circle corresponding to the vector of Points as an arc.

View file

@ -1,5 +1,7 @@
#include "MedialAxis.hpp"
#include "clipper.hpp"
#ifdef SLIC3R_DEBUG
namespace boost { namespace polygon {

View file

@ -2,6 +2,7 @@
#define slic3r_Geometry_MedialAxis_hpp_
#include "Voronoi.hpp"
#include "../ExPolygon.hpp"
namespace Slic3r { namespace Geometry {