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.

7.0

Return 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

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(A3D_NULL_HANDLE, psSectionParametersData, ppRISectionCurvesis).

Returns

A3D_SUCCESS on success, or an error code on failure