#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/ClipperZUtils.hpp>
◆ Intersection
◆ Intersections
◆ ClipperZIntersectionVisitor()
| Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::ClipperZIntersectionVisitor |
( |
Intersections & | intersections | ) |
|
|
inline |
const std::vector< std::pair< coord_t, coord_t > > & intersections() const
Definition ClipperZUtils.hpp:151
std::vector< std::pair< coord_t, coord_t > > & m_intersections
Definition ClipperZUtils.hpp:154
References intersections(), and m_intersections.
◆ clipper_callback()
| ZFillCallback Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::clipper_callback |
( |
| ) |
|
|
inline |
145 {
148 { return (*this)(e1bot, e1top, e2bot, e2top, pt); };
149 }
Vec3crd ZPoint
Definition ClipperZUtils.hpp:22
Referenced by Slic3r::Algorithm::wave_seeds().
◆ intersections()
| const std::vector< std::pair< coord_t, coord_t > > & Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::intersections |
( |
| ) |
const |
|
inline |
◆ operator()()
| void Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::operator() |
( |
const ZPoint & | e1bot, |
|
|
const ZPoint & | e1top, |
|
|
const ZPoint & | e2bot, |
|
|
const ZPoint & | e2top, |
|
|
ZPoint & | pt ) |
|
inline |
126 {
127 coord_t srcs[4]{ e1bot.z(), e1top.z(), e2bot.z(), e2top.z() };
130
131 std::sort(begin, end);
132 end = std::unique(begin, end);
133 if (begin + 1 == end) {
134
136 } else {
137 assert(begin + 2 == end);
138 if (begin + 2 <= end) {
139
142 }
143 }
144 }
int64_t coord_t
Definition libslic3r.h:48
T * begin(Slic3r::Mat< N, M, T > &mat)
Definition Point.hpp:838
T * end(Slic3r::Mat< N, M, T > &mat)
Definition Point.hpp:841
References m_intersections.
◆ reset()
| void Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::reset |
( |
| ) |
|
|
inline |
◆ m_intersections
| std::vector<std::pair<coord_t, coord_t> >& Slic3r::ClipperZUtils::ClipperZIntersectionVisitor::m_intersections |
|
private |
The documentation for this class was generated from the following file: