A3DComputePlanarSectionOnRepresentationItem

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

Function to compute plane section on BrepModel.

Parameters

pRiBrepModel: B-rep models.

psSectionParametersData: Parameters of the planar section.

ppRISectionResults: Array 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 on success, or an error code on failure