A3DCutWithMultiPlanarSectionOnModelFile
-
A3DStatus
A3DCutWithMultiPlanarSectionOnModelFile(A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DMultiPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfRepItems, A3DRiRepresentationItem ***pppRIRepresentationItem, A3DRiRepresentationItem ***pppRIPlanarSections) A3DStatusA3DCutWithMultiPlanarSectionOnModelFile(A3DAsmModelFile* pModelFile,A3DMkpView* pOptMrkRView,A3DMultiPlanarSectionData* psSectionParametersData,A3DUns32* pNumberOfRepItems,A3DRiRepresentationItem* **pppRIRepresentationItem,A3DRiRepresentationItem* **pppRIPlanarSections)Function to compute the result of a section with several planes on a
A3DAsmModelFile.8.2Call A3DCutWithMultiPlanarSectionOnModelFile( NULL, pOptMrkRView, psSectionParametersData, NULL, pNumberOfRepItems, pppRIRepresentationItem, pppRIPlanarSections) to release pppRIRepresentationItem and pppRIPlanarSections data
If
pOptMrkRViewis a cutting view,psSectionParametersDatacan be set to0. In this case, the cutting planes withinpOptMrkRVieware used for the computation. Planes must to ordered and be set a profile, otherwise the function will return#A3D_TOOLS_INVALID_SECTION_PLANE.Parameters
pModelFile: Model file to section.
pOptMrkRView: optional
A3DMkpView(filter and/or move entities).psSectionParametersData: define the section to use (can be NULL if pOptMrkRView is a cutting view).
pNumberOfRepItems: Number of
A3DRiRepresentationItemin pppRIRepresentationItem and pppRIPlanarSections array.pppRIRepresentationItem:
A3DRiRepresentationItemcorresponding to the section results. Can be NULL if aA3DRiRepresentationItemif fully cutted by the section.pppRIPlanarSections:
A3DRiRepresentationItemcorresponding to planar section for eachA3DRiRepresentationItemReturns
A3D_SUCCESSon success, or an error code on failure