Data Structures | |
struct | A3DPlanarSectionData |
A3DPlanarSectionData structure. | |
struct | A3DMultiPlanarSectionData |
A3DStatus | A3DComputePlanarSectionOnRepresentationItem (A3DRiBrepModel const *pRiBrepModel, A3DPlanarSectionData const *psSectionParametersData, A3DRiSet **ppRISectionResults) |
Function to compute plane section on BrepModel. More... | |
A3DStatus | A3DComputePlanarSectionOnModelFile (A3DAsmModelFile const *pModelFile, A3DPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfSections, A3DRiSet ***pppRISectionElements) |
Function to compute plane section on ModelFile. More... | |
A3DStatus | A3DCutWithMultiPlanarSectionOnRepresentationItems (A3DUns32 uiNbRepItems, A3DRiRepresentationItem const **apRepItems, A3DDouble **m_apOptPlacements, A3DMultiPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfRepItems, A3DRiRepresentationItem ***pppRIRepresentationItem, A3DRiRepresentationItem ***pppRIPlanarSections) |
Function to compute the result of a section with serveral plane on a set of A3DRiRepresentationItem. More... | |
A3DStatus | A3DCutWithMultiPlanarSectionOnModelFile (A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DMultiPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfRepItems, A3DRiRepresentationItem ***pppRIRepresentationItem, A3DRiRepresentationItem ***pppRIPlanarSections) |
Function to compute the result of a section with serveral plane on a A3DAsmModelFile. More... | |
Compute section functions for model file.
A3DStatus A3DComputePlanarSectionOnRepresentationItem | ( | A3DRiBrepModel const * | pRiBrepModel, |
A3DPlanarSectionData const * | psSectionParametersData, | ||
A3DRiSet ** | ppRISectionResults | ||
) |
Function to compute plane section on BrepModel.
[in] | pRiBrepModel | B-rep models. |
[in] | psSectionParametersData | Parameters of the planar section. |
[out] | ppRISectionResults | Array of section curves. ppRISectionResults is automatically allocated by A3DComputePlanarSectionOnRepresentationItem. It has to be freed with a call to A3DComputePlanarSectionOnRepresentationItem(NULL, psSectionParametersData, ppRISectionCurvesis). |
A3DStatus A3DComputePlanarSectionOnModelFile | ( | A3DAsmModelFile const * | pModelFile, |
A3DPlanarSectionData const * | psSectionParametersData, | ||
A3DUns32 * | pNumberOfSections, | ||
A3DRiSet *** | pppRISectionElements | ||
) |
Function to compute plane section on ModelFile.
[in] | pModelFile | Model file. |
[in] | psSectionParametersData | Parameters of the planar section. |
[out] | pNumberOfSections | Number of A3DRiSets. |
[out] | pppRISectionElements | Array of A3DRiSets. ppRISectionElements is automatically allocated by A3DComputePlanarSectionOnModelFile. It has to be freed with a call to A3DComputePlanarSectionOnModelFile(NULL, psSectionParametersData, pNumberOfSections, ppRISectionElements). |
A3DStatus A3DCutWithMultiPlanarSectionOnRepresentationItems | ( | A3DUns32 | uiNbRepItems, |
A3DRiRepresentationItem const ** | apRepItems, | ||
A3DDouble ** | m_apOptPlacements, | ||
A3DMultiPlanarSectionData const * | psSectionParametersData, | ||
A3DUns32 * | pNumberOfRepItems, | ||
A3DRiRepresentationItem *** | pppRIRepresentationItem, | ||
A3DRiRepresentationItem *** | pppRIPlanarSections | ||
) |
Function to compute the result of a section with serveral plane on a set of A3DRiRepresentationItem.
Call A3DCutWithMultiPlanarSectionOnRepresentationItems( 0, NULL, NULL, NULL, pNumberOfRepItems, pppRIRepresentationItem, pppRIPlanarSections) to release pppRIRepresentationItem and pppRIPlanarSections data
[in] | uiNbRepItems | Number of A3DRiRepresentationItem. |
[in] | apRepItems | set of A3DRiRepresentationItem. |
[in] | pOptPlacements | Optional set of representation item placements (16 A3DDouble matrix). |
[in] | psSectionParametersData | define the section to use. |
[out] | pNumberOfRepItems | Number of A3DRiRepresentationItem in pppRIRepresentationItem and pppRIPlanarSections array. |
[out] | pppRIRepresentationItem | A3DRiRepresentationItem corresponding to the boolean section results. Can be NULL if a A3DRiRepresentationItem if fully cutted by the section. |
[out] | pppRIPlanarSections | A3DRiRepresentationItem corresponding to planar section for each A3DRiRepresentationItem |
A3DStatus A3DCutWithMultiPlanarSectionOnModelFile | ( | A3DAsmModelFile const * | pModelFile, |
A3DMkpView const * | pOptMrkRView, | ||
A3DMultiPlanarSectionData const * | psSectionParametersData, | ||
A3DUns32 * | pNumberOfRepItems, | ||
A3DRiRepresentationItem *** | pppRIRepresentationItem, | ||
A3DRiRepresentationItem *** | pppRIPlanarSections | ||
) |
Function to compute the result of a section with serveral plane on a A3DAsmModelFile.
Call A3DCutWithMultiPlanarSectionOnModelFile( NULL, pOptMrkRView, psSectionParametersData, NULL, pNumberOfRepItems, pppRIRepresentationItem, pppRIPlanarSections) to release pppRIRepresentationItem and pppRIPlanarSections data
If pOptMrkRView is a cutting view, psSectionParametersData can be set to NULL. In this case, cutting planes contains in pOptMrkRView are use. Planes must to ordained, and set a profile, if not an A3D_TOOLS_INVALID_SECTION_PLANE error is returned.
[in] | pModelFile | Number of BrepModels in pRiBrepModel. |
[in] | pOptMrkRView | optional A3DMkpView (filter and/or move entities). |
[in] | psSectionParametersData | define the section to use (can be NULL if pOptMrkRView is a cutting view). |
[out] | pNumberOfRepItems | Number of A3DRiRepresentationItem in pppRIRepresentationItem and pppRIPlanarSections array. |
[out] | pppRIRepresentationItem | A3DRiRepresentationItem corresponding to the sectionresults. Can be NULL if a A3DRiRepresentationItem if fully cutted by the section. |
[out] | pppRIPlanarSections | A3DRiRepresentationItem corresponding to planar section for each A3DRiRepresentationItem |