Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
stl_neighbors Struct Reference

#include <src/admesh/stl.h>

Public Member Functions

 stl_neighbors ()
 
void reset ()
 
int num_neighbors () const
 

Public Attributes

int neighbor [3]
 
char which_vertex_not [3]
 

Detailed Description

Constructor & Destructor Documentation

◆ stl_neighbors()

stl_neighbors::stl_neighbors ( )
inline
73{ reset(); }
void reset()
Definition stl.h:74

References reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ num_neighbors()

int stl_neighbors::num_neighbors ( ) const
inline
82{ return 3 - ((this->neighbor[0] == -1) + (this->neighbor[1] == -1) + (this->neighbor[2] == -1)); }
int neighbor[3]
Definition stl.h:85

References neighbor.

Referenced by stl_remove_unconnected_facets().

+ Here is the caller graph for this function:

◆ reset()

void stl_neighbors::reset ( )
inline
74 {
75 neighbor[0] = -1;
76 neighbor[1] = -1;
77 neighbor[2] = -1;
78 which_vertex_not[0] = -1;
79 which_vertex_not[1] = -1;
80 which_vertex_not[2] = -1;
81 }
char which_vertex_not[3]
Definition stl.h:87

References neighbor, and which_vertex_not.

Referenced by stl_neighbors().

+ Here is the caller graph for this function:

Member Data Documentation

◆ neighbor

int stl_neighbors::neighbor[3]

◆ which_vertex_not

char stl_neighbors::which_vertex_not[3]

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