MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / toBinaryStl

Function toBinaryStl

source/MRMesh/MRMeshSave.cpp:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260Expected<void> toBinaryStl( const Mesh & mesh, const std::filesystem::path & file, const SaveSettings & settings )
261{
262 std::ofstream out( file, std::ofstream::binary );
263 if ( !out )
264 return unexpected( std::string( "Cannot open file for writing " ) + utf8string( file ) );
265
266 return toBinaryStl( mesh, out, settings );
267}
268
269Expected<void> toBinaryStl( const Mesh & mesh, std::ostream & out, const SaveSettings & settings )
270{

Callers 1

TESTFunction · 0.85

Calls 9

utf8stringFunction · 0.85
getNotDegenTrisFunction · 0.85
reportProgressFunction · 0.85
countMethod · 0.80
writeTriMethod · 0.80
getTriPointsMethod · 0.80
updateHeadCounterMethod · 0.80
unexpectedFunction · 0.70

Tested by 1

TESTFunction · 0.68