A3DComputePlanarSectionOnModelFile
-
A3DStatus
A3DComputePlanarSectionOnModelFile(A3DAsmModelFile const *pModelFile, A3DPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfSections, A3DRiSet ***pppRISectionElements) A3DStatusA3DComputePlanarSectionOnModelFile(A3DAsmModelFile* pModelFile,A3DPlanarSectionData* psSectionParametersData,A3DUns32* pNumberOfSections,A3DRiSet*** pppRISectionElements)Function to compute plane section on ModelFile.
7.0Return Values
A3D_SUCCESS:
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_ENTITY_NULL:
A3D_INVALID_ENTITY_TYPE:
A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE:
A3D_ERROR:
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(A3D_NULL_HANDLE, psSectionParametersData, pNumberOfSections, ppRISectionElements).
Returns
A3D_SUCCESSon success, or an error code on failure