◆ Side
| Enumerator |
|---|
| Left | |
| Right | |
| Top | |
| Bottom | |
33 {
38 };
@ Right
Definition GLToolbar.hpp:462
@ Left
Definition GLToolbar.hpp:462
@ Bottom
Definition GeometryEngine.hpp:16
@ Top
Definition GeometryEngine.hpp:16
◆ InfillPolylineClipper()
| Slic3r::InfillPolylineClipper::InfillPolylineClipper |
( |
const BoundingBox | bbox, |
|
|
const double | scale_out ) |
|
inline |
◆ add_point()
| void Slic3r::InfillPolylineClipper::add_point |
( |
const Vec2d & | pt | ) |
|
56{
58
59 if (
m_out.size() < 2) {
60
62 m_out.emplace_back(pt);
63 } else {
64
65 int sides_next =
sides(pt);
66 if (
68
69
71
73 } else {
74
75
77 }
78
79 m_out.emplace_back(pt);
81 }
82}
int m_sides_this
Definition FillPlanePath.cpp:52
int m_sides_prev
Definition FillPlanePath.cpp:51
int sides(const Point &p) const
Definition FillPlanePath.cpp:40
Points m_out
Definition FillPlanePath.hpp:35
const Point scaled(const Vec2d &fpt) const
Definition FillPlanePath.hpp:31
Kernel::Point_3 Point
Definition MeshRepair.cpp:81
References Slic3r::InfillPolylineOutput::m_out, m_sides_prev, m_sides_this, Slic3r::InfillPolylineOutput::scaled(), and sides().
◆ clips()
| bool Slic3r::InfillPolylineClipper::clips |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ reserve()
| void Slic3r::InfillPolylineOutput::reserve |
( |
size_t | n | ) |
|
|
inlineinherited |
◆ result()
| Points && Slic3r::InfillPolylineClipper::result |
( |
| ) |
|
|
inline |
◆ scaled()
| const Point Slic3r::InfillPolylineOutput::scaled |
( |
const Vec2d & | fpt | ) |
const |
|
inlineinherited |
◆ sides()
| int Slic3r::InfillPolylineClipper::sides |
( |
const Point & | p | ) |
const |
|
inlineprivate |
40 {
45 };
@ Bottom
Definition FillPlanePath.cpp:37
@ Right
Definition FillPlanePath.cpp:35
@ Left
Definition FillPlanePath.cpp:34
@ Top
Definition FillPlanePath.cpp:36
References Bottom, Left, m_bbox, Right, and Top.
Referenced by add_point().
◆ m_bbox
◆ m_out
| Points Slic3r::InfillPolylineOutput::m_out |
|
protectedinherited |
◆ m_scale_out
| double Slic3r::InfillPolylineOutput::m_scale_out |
|
privateinherited |
◆ m_sides_prev
| int Slic3r::InfillPolylineClipper::m_sides_prev |
|
private |
◆ m_sides_this
| int Slic3r::InfillPolylineClipper::m_sides_this |
|
private |
The documentation for this class was generated from the following file: