#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/BoundingBox.hpp>
|
| static void | construct (BoundingBoxType &out, It from, It to) |
◆ PointsType
◆ BoundingBox3() [1/4]
| Slic3r::BoundingBox3::BoundingBox3 |
( |
| ) |
|
|
inline |
◆ BoundingBox3() [2/4]
| Slic3r::BoundingBox3::BoundingBox3 |
( |
const Vec3crd & | pmin, |
|
|
const Vec3crd & | pmax ) |
|
inline |
◆ BoundingBox3() [3/4]
| Slic3r::BoundingBox3::BoundingBox3 |
( |
const Points3 & | points | ) |
|
|
inline |
243 if (!points.empty()) {
244 this->
min = points.front();
245 this->
max = points.front();
246 for (const auto &p : points) {
247 this->
min = this->
min.cwiseMin(
static_cast<const Vec3crd&
>(p));
248 this->
max = this->
max.cwiseMax(
static_cast<const Vec3crd&
>(p));
249 }
251 }
252 }
Vec3crd max
Definition BoundingBox.hpp:21
bool defined
Definition BoundingBox.hpp:22
Vec3crd min
Definition BoundingBox.hpp:20
Eigen::Matrix< coord_t, 3, 1, Eigen::DontAlign > Vec3crd
Definition Point.hpp:53
References Slic3r::BoundingBox3Base< Vec3crd >::BoundingBox3Base().
◆ BoundingBox3() [4/4]
| Slic3r::BoundingBox3::BoundingBox3 |
( |
const std::vector< Vec3crd > & | points | ) |
|
|
inline |
◆ area()
Definition BoundingBox.hpp:17
◆ center()
238{
239 return (this->
min + this->
max) / 2;
240}
Definition BoundingBox.hpp:117
◆ construct()
|
|
inlinestaticprivateinherited |
100 {
109 }
111 }
112 }
auto cast(const BoundingBoxBase< Tin > &b)
Definition BoundingBox.hpp:299
◆ contains()
161 {
163 }
bool contains(const PointType &point) const
Definition BoundingBox.hpp:51
◆ inflated()
void offset(coordf_t delta)
Definition BoundingBox.cpp:219
◆ intersects()
◆ max_size()
246{
249}
Vec3crd size() const
Definition BoundingBox.cpp:187
◆ merge()
140{
144 } else {
148 }
149}
Referenced by offset().
◆ offset()
◆ operator!=()
83{
return ! (*
this ==
rhs); }
◆ operator==()
◆ operator[]()
62 {
64 case 0:
66 break;
67 case 1:
69 break;
70 case 2:
72 break;
73 case 3:
75 break;
76 default:
78 break;
79 }
81 }
◆ overlap()
◆ polygon()
◆ radius()
◆ reset()
◆ scale()
◆ size()
188{
189 return this->
max - this->
min;
190}
◆ translate() [1/2]
◆ translate() [2/2]
◆ defined
◆ max
◆ min
The documentation for this class was generated from the following file: