.. _group__a3d___compute_section:

###############
Compute Section
###############


   6.1


Compute section functions for model file.


   :c:func:`~A3DComputePlanarSectionOnRepresentationItem`



   :c:func:`~A3DComputePlanarSectionOnModelFile`


**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


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DPlanarSectionData`
* :c:struct:`~A3DMultiPlanarSectionData`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DComputePlanarSectionOnRepresentationItem`
* :c:func:`~A3DComputePlanarSectionOnModelFile`
* :c:func:`~A3DCutWithMultiPlanarSectionOnRepresentationItems`
* :c:func:`~A3DCutWithMultiPlanarSectionOnModelFile`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DPlanarSectionData
   ../structures/A3DMultiPlanarSectionData
   ../functions/A3DComputePlanarSectionOnRepresentationItem
   ../functions/A3DComputePlanarSectionOnModelFile
   ../functions/A3DCutWithMultiPlanarSectionOnRepresentationItems
   ../functions/A3DCutWithMultiPlanarSectionOnModelFile


