< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Structures
Compute Section

Data Structures

struct  A3DPlanarSectionData
 A3DPlanarSectionData structure. More...
 
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...
 

Detailed Description

Version
6.1

Compute section functions for model file.

See also
A3DComputePlanarSectionOnRepresentationItem
A3DComputePlanarSectionOnModelFile

Function Documentation

A3DStatus A3DComputePlanarSectionOnRepresentationItem ( A3DRiBrepModel const *  pRiBrepModel,
A3DPlanarSectionData const *  psSectionParametersData,
A3DRiSet **  ppRISectionResults 
)

Function to compute plane section on BrepModel.

Version
7.0
Parameters
[in]pRiBrepModelB-rep models.
[in]psSectionParametersDataParameters of the planar section.
[out]ppRISectionResultsArray of section curves. ppRISectionResults is automatically allocated by A3DComputePlanarSectionOnRepresentationItem. It has to be freed with a call to A3DComputePlanarSectionOnRepresentationItem(NULL, psSectionParametersData, ppRISectionCurvesis).
Returns
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_ERROR
A3DStatus A3DComputePlanarSectionOnModelFile ( A3DAsmModelFile const *  pModelFile,
A3DPlanarSectionData const *  psSectionParametersData,
A3DUns32 pNumberOfSections,
A3DRiSet ***  pppRISectionElements 
)

Function to compute plane section on ModelFile.

Version
7.0
Parameters
[in]pModelFileModel file.
[in]psSectionParametersDataParameters of the planar section.
[out]pNumberOfSectionsNumber of A3DRiSets.
[out]pppRISectionElementsArray 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
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_ERROR