Loading...
Searching...
No Matches
binaryio.cpp File Reference
#include "meshkit/io.hpp"
#include "file.hpp"
#include <fstream>
Include dependency graph for binaryio.cpp:

Namespaces

namespace  meshkit
 The Qt-free MeshKit library: job events and progress (meshkit::runtime), the neutral mesh model, meshing jobs, the constrained Delaunay kernel and terrain surfaces (meshkit::core), and the MKB and SMS 2DM codecs (meshkit::io).
 

Functions

IOReport meshkit::writeBinary (const std::filesystem::path &, const Mesh &, const IOOptions &={})
 Validate a mesh and atomically publish it to a path as version-1 MKB.
 
ReadResult meshkit::readBinary (std::istream &, const IOOptions &={})
 Read a version-1 MeshKit binary (MKB) mesh from a stream.
 
ReadResult meshkit::readBinary (const std::filesystem::path &, const IOOptions &={})
 Open a file in binary mode and read it as MKB, as the stream overload does.