Input/Output

static void krado::IO::export_mesh(const std::string &file_name, Ptr<const Mesh> mesh)

Write mesh into a file.

Parameters:
  • file_name – Name of the file

  • meshMesh to write

static Ptr<Mesh> krado::IO::import_mesh(const std::string &file_name)

Read mesh from a file.

Parameters:

file_name – Name of the file

Returns:

Mesh read from the file