A3DComputePlanarSectionOnModelFile

A3DStatus A3DComputePlanarSectionOnModelFile(A3DAsmModelFile const *pModelFile, A3DPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfSections, A3DRiSet ***pppRISectionElements)
A3DStatus A3DComputePlanarSectionOnModelFile(A3DAsmModelFile* pModelFile, A3DPlanarSectionData* psSectionParametersData, A3DUns32* pNumberOfSections, A3DRiSet* **pppRISectionElements)

Function to compute plane section on ModelFile.

Parameters

pModelFile: Model file to section.

psSectionParametersData: Parameters of the planar section.

pNumberOfSections: Number of A3DRiSets.

pppRISectionElements: Array of A3DRiSets. ppRISectionElements is automatically allocated by A3DComputePlanarSectionOnModelFile. It has to be freed with a call to A3DComputePlanarSectionOnModelFile(NULL, psSectionParametersData, pNumberOfSections, ppRISectionElements).

Returns

A3D_SUCCESS on success, or an error code on failure