Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::PerimeterGeneratorLoop Class Reference
+ Collaboration diagram for Slic3r::PerimeterGeneratorLoop:

Public Member Functions

 PerimeterGeneratorLoop (const Polygon &polygon, unsigned short depth, bool is_contour, bool fuzzify)
 
bool is_external () const
 
bool is_internal_contour () const
 

Public Attributes

Polygon polygon
 
bool is_contour
 
unsigned short depth
 
bool fuzzify
 
std::vector< PerimeterGeneratorLoopchildren
 

Detailed Description

Constructor & Destructor Documentation

◆ PerimeterGeneratorLoop()

Slic3r::PerimeterGeneratorLoop::PerimeterGeneratorLoop ( const Polygon polygon,
unsigned short  depth,
bool  is_contour,
bool  fuzzify 
)
inline
191 :
bool fuzzify
Definition PerimeterGenerator.cpp:187
bool is_contour
Definition PerimeterGenerator.cpp:183
unsigned short depth
Definition PerimeterGenerator.cpp:185
Polygon polygon
Definition PerimeterGenerator.cpp:180

Member Function Documentation

◆ is_external()

bool Slic3r::PerimeterGeneratorLoop::is_external ( ) const
inline
194{ return this->depth == 0; }

◆ is_internal_contour()

bool Slic3r::PerimeterGeneratorLoop::is_internal_contour ( ) const
inline
196 {
197 // An internal contour is a contour containing no other contours
198 if (! this->is_contour)
199 return false;
200 for (const PerimeterGeneratorLoop &loop : this->children)
202 return false;
203 return true;
204 }
std::vector< PerimeterGeneratorLoop > children
Definition PerimeterGenerator.cpp:189
if(!(yy_init))
Definition lexer.c:1190
IGL_INLINE void loop(const int n_verts, const Eigen::PlainObjectBase< DerivedF > &F, Eigen::SparseMatrix< SType > &S, Eigen::PlainObjectBase< DerivedNF > &NF)
Definition loop.cpp:21

References children.

Member Data Documentation

◆ children

std::vector<PerimeterGeneratorLoop> Slic3r::PerimeterGeneratorLoop::children

◆ depth

unsigned short Slic3r::PerimeterGeneratorLoop::depth

◆ fuzzify

bool Slic3r::PerimeterGeneratorLoop::fuzzify

◆ is_contour

bool Slic3r::PerimeterGeneratorLoop::is_contour

◆ polygon

Polygon Slic3r::PerimeterGeneratorLoop::polygon

The documentation for this class was generated from the following file: