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

Go to the source code of this file.

Classes

class  Slic3r::trianglulate_wall_detail::Ring
class  Slic3r::trianglulate_wall_detail::Triangulator< Sc >

Namespaces

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

Functions

template<class Sc>
static Sc Slic3r::trianglulate_wall_detail::sq_dst (const Vec< 3, Sc > &v1, const Vec< 3, Sc > &v2)
template<class Sc>
static Sc Slic3r::trianglulate_wall_detail::trscore (const Ring &onring, const Ring &offring, const std::vector< Vec< 3, Sc > > &pts)
template<class Sc, class I>
void Slic3r::triangulate_wall (std::vector< Vec< 3, Sc > > &pts, std::vector< Vec< 3, I > > &ind, const Polygon &lower, const Polygon &upper, double lower_z_mm, double upper_z_mm)