#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/TriangleMesh.hpp>
◆ clear()
| void Slic3r::TriangleMeshStats::clear |
( |
| ) |
|
|
inline |
68{ *this = TriangleMeshStats(); }
◆ manifold()
| bool Slic3r::TriangleMeshStats::manifold |
( |
| ) |
const |
|
inline |
◆ merge()
70 {
72 return rhs;
73 else if (rhs.number_of_facets == 0)
74 return *this;
75 else {
76 TriangleMeshStats out;
78 out.min = this->
min.cwiseMin(rhs.min);
79 out.max = this->
max.cwiseMax(rhs.max);
80 out.size = out.max - out.min;
82 out.open_edges = this->
open_edges + rhs.open_edges;
83 out.volume = this->
volume + rhs.volume;
84 out.repaired_errors.merge(rhs.repaired_errors);
85 return out;
86 }
87 }
stl_vertex max
Definition TriangleMesh.hpp:56
int number_of_parts
Definition TriangleMesh.hpp:60
stl_vertex min
Definition TriangleMesh.hpp:57
uint32_t number_of_facets
Definition TriangleMesh.hpp:55
float volume
Definition TriangleMesh.hpp:59
References max, Slic3r::RepairedMeshErrors::merge(), min, number_of_facets, number_of_parts, open_edges, repaired_errors, size, and volume.
◆ repaired()
| bool Slic3r::TriangleMeshStats::repaired |
( |
| ) |
const |
|
inline |
◆ max
| stl_vertex Slic3r::TriangleMeshStats::max = stl_vertex::Zero() |
◆ min
| stl_vertex Slic3r::TriangleMeshStats::min = stl_vertex::Zero() |
◆ number_of_facets
| uint32_t Slic3r::TriangleMeshStats::number_of_facets = 0 |
◆ number_of_parts
| int Slic3r::TriangleMeshStats::number_of_parts = 0 |
◆ open_edges
| int Slic3r::TriangleMeshStats::open_edges = 0 |
◆ repaired_errors
◆ size
| stl_vertex Slic3r::TriangleMeshStats::size = stl_vertex::Zero() |
◆ volume
| float Slic3r::TriangleMeshStats::volume = -1.f |
The documentation for this struct was generated from the following file: