
##############################
A3DComputeOrthoHLROnModelFile3
##############################

.. c:function:: A3DStatus A3DComputeOrthoHLROnModelFile3(A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DHLROptionsData const *psHLROptionsData, A3DUns32 *pNumberHLRRepItem, A3DHLRRepresentationItem ***ppHLRRepItems)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DComputeOrthoHLROnModelFile3(:c:type:`~A3DAsmModelFile`\ \* **pModelFile**\ , :c:type:`~A3DMkpView`\ \* **pOptMrkRView**\ , :c:struct:`~A3DHLRViewPlaneData`\ \* **psHLRViewPlaneData**\ , :c:struct:`~A3DHLROptionsData`\ \* **psHLROptionsData**\ , :c:type:`~A3DUns32`\ \* **pNumberHLRRepItem**\ , :c:type:`~A3DHLRRepresentationItem`\ \*\*\* **ppHLRRepItems**\ )
   
   Function to compute Hidden Line Removal on a :c:type:`~A3DAsmModelFile`\ .
   
   
      10.1
   
   
   Call A3DComputeOrthoHLROnModelFile3(A3D_NULL_HANDLE, A3D_NULL_HANDLE, NULL, NULL, pNumberHLRRepItem, pppHLRRepItem) to release *pppHLRRepItem structure ( internal A3DCrvPolyLine* was not released)
   
   If ``pOptMrkRView`` is a cutting view, ``psSectionParametersData`` can be set to ``0``\ . In this case, the cutting planes within ``pOptMrkRView`` are used for the computation. Planes must to ordered and be set a profile, otherwise the function will return ``#A3D_TOOLS_INVALID_SECTION_PLANE``\ .
   
   
      If the model file doesn't contain any representation item, the function will return ``#A3D_INVALID_DATA error``
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ :
   
      **A3D_INVALID_ENTITY_TYPE**\ :
   
      **A3D_INVALID_DATA**\ :
   
      **A3D_ERROR**\ :
   
      **A3D_TOOLS_INVALID_SECTION_PLANE**\ :
   
      **A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE**\ :
   
   
   **Parameters**
   
   
      **pModelFile**\ : Model file to work on.
   
      **pOptMrkRView**\ : optional :c:type:`~A3DMkpView` (cut, filter and/or move entities).
   
      **psHLRViewPlaneData**\ : define a plane as a camera with orthogonal projection.
   
      **psHLROptionsData**\ : define options used to compute HLR. if set to NULL, default :c:struct:`~A3DHLROptionsData` value are used.
   
      **pNumberHLRRepItem**\ : Number :c:type:`~A3DHLRRepresentationItem`\ .
   
      **ppHLRRepItems**\ : HLR curve result grouped by :c:type:`~A3DRiRepresentationItem` entity. pppHLRRepItem is automatically allocated by A3DComputeOrthoHLROnModelFile3.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




