A3DTreeCompute

A3DStatus A3DTreeCompute(const A3DAsmModelFile *pModelFile, A3DTree **ppTree, const A3DTreeComputeParameters *psParameters)
A3DStatus A3DTreeCompute(const A3DAsmModelFile* pModelFile, A3DTree** ppTree, const A3DTreeComputeParameters* psParameters)

From modelfile compute data necessary to build a tree.

The function will be call with null model file, in order to release the memory

Parameters

pModelFile: The model file

ppTree: The corresponding model tree

psParameters: Parameters used to compute the tree. 0 for now, structure for future use.

Returns

A3D_SUCCESS on success, or an error code on failure