vdsNode* vdsReadTree (FILE *f, vdsNodeDataReader readdata)

Read a vertex tree from a VDS binary file


Read a vertex tree from a VDS binary file. The user may specify a vdsNodeDataReader function readdata() if the vertex tree was written with custom data in the node->data field. If readdata() is NULL, the node->data field is simply copied byte-for-byte into memory.
A pointer to the root node of the new tree.
f - The file to be read.
readdata - A vdsNodeDataReader function callback to read the contents of the node->data field, or NULL to simply read node->data byte-for-byte.

alphabetic index hierarchy of classes