Function trx::append_dpv_to_directory

Function Documentation

void trx::append_dpv_to_directory(const std::string &directory, const std::map<std::string, TypedArray> &dpv, bool overwrite = true)

Append per-vertex data arrays to an existing TRX directory.

Creates the dpv/ subdirectory if absent, then writes one binary file per array.

Parameters:
  • directory – Path to an existing TRX directory.

  • dpv – Map from array name to TypedArray.

  • overwrite – If false, existing files with the same name are skipped (default: true).

Throws:

TrxIOError – on any I/O failure.