deprecated_A3DComputeOrthoHLROnModelFile2

A3DStatus deprecated_A3DComputeOrthoHLROnModelFile2(A3DAsmModelFile const *pModelFile, A3DMkpView const *pOptMrkRView, A3DHLRViewPlaneData const *psHLRViewPlaneData, A3DUns32 *pNumberHLRRepItem, A3DHLRRepresentationItem ***pppHLRRepItem)

deprecated

A3DStatus deprecated_A3DComputeOrthoHLROnModelFile2(A3DAsmModelFile* pModelFile, A3DMkpView* pOptMrkRView, A3DHLRViewPlaneData* psHLRViewPlaneData, A3DUns32* pNumberHLRRepItem, A3DHLRRepresentationItem* **pppHLRRepItem)

Function to compute Hidden Line Removal on a A3DAsmModelFile.

9.0

Deprecateduse A3DComputeOrthoHLROnModelFile3() instead. This will be removed in version 2026.1.0.

Call deprecated_A3DComputeOrthoHLROnModelFile2( NULL, 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.

Parameters

pModelFile: Model file to work on.

pOptMrkRView: optional A3DMkpView (cut, filter and/or move entities).

psHLRViewPlaneData: define a plane as a camera with orthogonal projection.

pNumberHLRRepItem: Number A3DHLRRepresentationItem.

pppHLRRepItem: HLR curve result grouped by A3DRiRepresentationItem entity. pppHLRRepItem is automatically allocated by deprecated_A3DComputeOrthoHLROnModelFile2.

Returns

A3D_SUCCESS on success, or an error code on failure