Function cwipc_write_debugdump

Function Documentation

int cwipc_write_debugdump(const char *filename, cwipc_pointcloud *pc, char **errorMessage)

Write pointcloud to pointclouddump file.

The dump file format is unspecified and machine dependent. It is mainly intended for testing purposes.

If an error occurs and errorMessage is non-NULL it will receive a pointer to a string with the message.

Parameters:
  • filename – The dump file to frite.

  • pc – The pointcloud to write.

  • errorMessage – Address of a char* where any error message is saved (or NULL).

Returns:

0 on success, -1 on failure.