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

#include <src/admesh/stl.h>

+ Collaboration diagram for stl_file:

Public Member Functions

 stl_file ()
 
void clear ()
 
size_t memsize () const
 

Public Attributes

std::vector< stl_facetfacet_start
 
std::vector< stl_neighborsneighbors_start
 
stl_stats stats
 

Detailed Description

Constructor & Destructor Documentation

◆ stl_file()

stl_file::stl_file ( )
inline
138{}

Member Function Documentation

◆ clear()

void stl_file::clear ( )
inline
140 {
141 this->facet_start.clear();
142 this->neighbors_start.clear();
143 this->stats.clear();
144 }
std::vector< stl_facet > facet_start
Definition stl.h:150
stl_stats stats
Definition stl.h:153
std::vector< stl_neighbors > neighbors_start
Definition stl.h:151
void clear()
Definition stl.h:134

References stl_stats::clear(), facet_start, neighbors_start, and stats.

Referenced by stl_open().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ memsize()

size_t stl_file::memsize ( ) const
inline
146 {
147 return sizeof(*this) + sizeof(stl_facet) * facet_start.size() + sizeof(stl_neighbors) * neighbors_start.size();
148 }
Definition stl.h:48
Definition stl.h:72

References facet_start, and neighbors_start.

Member Data Documentation

◆ facet_start

◆ neighbors_start

◆ stats


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