A3DSDKDeprecated.h

Macro Definitions

__A3DSDKDEPRECATED__

deprecated_kA3DDraw3D

deprecated_kA3DDrawMarkups

Types

deprecated_A3DDrawCallbacksData

Type Aliases

void(*

deprecated_A3DCallbackDrawPushMatrix

void(*

deprecated_A3DCallbackDrawPopMatrix

void(*

deprecated_A3DCallbackDrawMultMatrix

void(*

deprecated_A3DCallbackDrawBegin

void(*

deprecated_A3DCallbackDrawEnd

void(*

deprecated_A3DCallbackDrawSetTessellationPoints

void(*

deprecated_A3DCallbackDrawProject

void(*

deprecated_A3DCallbackDrawUnProject

void(*

deprecated_A3DCallbackDrawTriangle

void(*

deprecated_A3DCallbackDrawTriangleFan

void(*

deprecated_A3DCallbackDrawTriangleStripe

void(*

deprecated_A3DCallbackDrawTriangleOneNormal

void(*

deprecated_A3DCallbackDrawTriangleFanOneNormal

void(*

deprecated_A3DCallbackDrawTriangleStripeOneNormal

void(*

deprecated_A3DCallbackDrawTriangleTextured

void(*

deprecated_A3DCallbackDrawTriangleFanTextured

void(*

deprecated_A3DCallbackDrawTriangleStripeTextured

void(*

deprecated_A3DCallbackDrawTriangleOneNormalTextured

void(*

deprecated_A3DCallbackDrawTriangleFanOneNormalTextured

void(*

deprecated_A3DCallbackDrawTriangleStripeOneNormalTextured

void(*

deprecated_A3DCallbackDrawColor

void(*

deprecated_A3DCallbackDrawMaterial

void(*

deprecated_A3DCallbackDrawBeginMaterial

void(*

deprecated_A3DCallbackDrawEndMaterial

void(*

deprecated_A3DCallbackDrawGetDrawContext

void(*

deprecated_A3DCallbackDrawMarkupTriangle

void(*

deprecated_A3DCallbackDrawBeginFrameDraw

void(*

deprecated_A3DCallbackDrawEndFrameDraw

void(*

deprecated_A3DCallbackDrawBeginFixedSize

void(*

deprecated_A3DCallbackDrawEndFixedSize

void(*

deprecated_A3DCallbackDrawCylinder

void(*

deprecated_A3DCallbackDrawPolygon

void(*

deprecated_A3DCallbackDrawBeginLineWidth

void(*

deprecated_A3DCallbackDrawEndLineWidth

void(*

deprecated_A3DCallbackDrawPoint

void(*

deprecated_A3DCallbackDrawFont

void(*

deprecated_A3DCallbackDrawBeginLineStipple

void(*

deprecated_A3DCallbackDrawEndLineStipple

void(*

deprecated_A3DCallbackDrawSymbol

void(*

deprecated_A3DCallbackDrawPolyLine

void(*

deprecated_A3DCallbackDrawText

void(*

deprecated_A3DCallbackDrawPattern

void(*

deprecated_A3DCallbackDrawPicture

A3DMkpRTFFieldData

deprecated_A3DRTFFieldData

Functions

A3DStatus

deprecated_A3DDrawInitCallbacks

A3DStatus

deprecated_A3DDraw

A3DStatus

deprecated_A3DDrawRepresentationItem

A3DStatus

deprecated_A3DDrawMarkup

A3DStatus

deprecated_A3DDrawGetBoundingBox

A3DStatus

deprecated_A3DGetCurveAsAnalytic

A3DStatus

deprecated_A3DGetCurveAsAnalyticFromCoEdge

A3DStatus

deprecated_A3DGetSurfaceAsAnalytic

A3DStatus

deprecated_A3DProjectPointCloud2

A3DStatus

deprecated_A3DComputeOrthoHLROnModelFile

A3DStatus

deprecated_A3DComputeOrthoHLROnModelFile2

A3DStatus

deprecated_A3DDisableHandleSIGSEGV

A3DStatus

deprecated_A3DEnableHandleSIGSEGV

A3DStatus

deprecated_A3DAsmPartDefinitionFeatureTreesGet

A3DStatus

deprecated_A3DSurfBaseGetAsNurbs

A3DStatus

deprecated_A3DMkpRTFInit

A3DStatus

deprecated_A3DMkpRTFGetField

A3DStatus

deprecated_A3DMkpRTFDelete

A3DStatus

deprecated_A3DAsmProductOccurrenceUnload

A3DStatus

deprecated_A3DSimplifyModelFileCurveAndSurfaceAsAnalytic

Detailed Description

Author

Tech Soft 3D

Version

25.1

Date

January 2025

Copyright

Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc. All rights reserved.

Macro Definition

__A3DSDKDEPRECATED__

Type Alias Documentation

typedef A3DMkpRTFFieldData deprecated_A3DRTFFieldData

Deprecated:

This type is deprecated. Please use A3DMkpRTFFieldData instead to implement the same behaviour. This will be removed in version 2026.1.0.

Function Documentation

A3DStatus deprecated_A3DGetCurveAsAnalytic(const A3DCrvBase *pCurve, double dTol, A3DCrvBase **pAnalyticCurve, A3DEAnalyticType *peAnalyticType)

Function to get curves as analytic (line or circle) according to a certain tolerance. Use A3DEntityDelete to delete the analytic curve after using it.

Deprecated:

Use A3DSimplifyCurveWithAnalytics instead. This will be removed in version 2026.1.0.

Version

5.0

Return values:
  • A3D_SUCCESS – if an analytic has been created

  • A3D_ERROR

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DGetCurveAsAnalyticFromCoEdge(const A3DTopoCoEdge *pCoEdge, double dTol, A3DCrvBase **pAnalyticCurve, A3DEAnalyticType *peAnalyticType)

Function to get curves as analytic (line or circle) according to a certain tolerance Try to use UV curves from Edges if exist, otherwise use 3D Curves. Use A3DEntityDelete to delete the analytic curve after using it.

Deprecated:

use A3DSimplifyCurveWithAnalyticsFromCoEdge instead. This will be removed in version 2026.1.0.

Version

5.0

Return values:
  • A3D_SUCCESS – if an analytic has been created

  • A3D_ERROR

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DGetSurfaceAsAnalytic(A3DSurfBase const *pSrf, double dTol, A3DSurfBase **pAnalyticSurface, A3DEAnalyticType *peAnalyticType)

Function to get surface as analytic according to a certain tolerance. Use A3DEntityDelete to delete the analytic surface after using it. Recognized surface type are: Conic Surface Cylindrical Surface Plane Surface Spherical Surface Toric Surface.

Deprecated:

use A3DSimplifySurfaceWithAnalytics instead. This will be removed in version 2026.1.0.

Version

5.0

Warning

must be deleted by the user

Parameters:
  • pSrf[in] The input surface

  • dTol[in] Tolerance

  • pAnalyticSurface[out] The new analytic surface.

  • peAnalyticType[out] The type of analytic surface

Return values:
  • A3D_SUCCESS

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_ERROR

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DProjectPointCloud2(A3DProjectPointCloudManager *pManager, A3DUns32 uPointCloudSize, A3DVector3dData *pPointCloudToProject, A3DBool bUseExactComputation, A3DUns32 uNbThreads, A3DDouble dInsidePointEdgeTolerance, A3DProjectedPointCloudData **ppProjectedPointCloud)

Function to project Point Cloud on BrepModel with a A3DProjectPointCloudManager.

Deprecated:

use A3DProjectPointCloud3 instead. This will be removed in version 2026.1.0.

Version

8.1

Memory Management

In case of success, ppProjectedPointCloud contains heap allocated memory you are responsible for. To free the memory on ppProjectedPointCloud, call deprecated_A3DProjectPointCloud2 by setting pManager to 0. In this case, all other parameters are ignored:

deprecated_A3DProjectPointCloud2(0, 0, 0, A3D_FALSE, 0, 0.0, ppProjectedPointCloud);

Warning

If A3DProjectPointCloudManagerCreateFromRI is used to create pManager, and A3DProjectPointCloudManagerDataFromRI.m_bUseExactComputation is set to false, you can’t set bUseExactComputation to true. In this case, an A3D_INVALID_DATA error is returned.

Parameters:
  • pManager[in] A3DProjectPointCloudManager created by A3DProjectPointCloudManagerCreateFromModelFile function.

  • uPointCloudSize[in] Number of points in pPointCloudToProject.

  • pPointCloudToProject[in] Point cloud to project. This point cloud must be in the same coordinate system as the BrepData structures stored in BrepModel.

  • bUseExactComputation[in] Flag to use exact topology. When this flag is false, the algorithm drops the point cloud on the faceted geometry, otherwise, the exact topology is used.

  • uNbThreads[in] Number of threads wanted. 0 means non multi-thread. Please avoid setting a number of threads larger than the number of CPU cores.

  • dInsidePointEdgeTolerance[in] Tolerance used to check if projection point which is inside a face is on edge.

  • ppProjectedPointCloud[out] Point cloud projected.

Return values:
  • A3D_SUCCESS

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_ENTITY_TYPE

  • A3D_INVALID_DATA

  • A3D_ERROR

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DDisableHandleSIGSEGV()

Disables internal SIGSEGV handling (Linux only)

This function deactivates the handling of the SIGSEGV signal on Linux. By default, SIGSEGV is handled and an exception is thrown to return A3D_EXCEPTION.

Deprecated:

the default behavior has changed with 11.2 to disable the SIGSEGV handling This will be removed in version 2026.1.0.

Warning

You must call this function before A3DDllInitialize

Return values:
  • A3D_SUCCESS

  • A3D_ERROR – if not on Linux

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DEnableHandleSIGSEGV()

Enables internal SIGSEGV handling (Linux only)

This function activates the handling of the SIGSEGV signal on Linux. When this function is activated, SIGSEGV is handled and an exception is thrown to return A3D_EXCEPTION.

Deprecated:

the default behavior has changed with 11.2 to disable the SIGSEGV handling This will be removed in version 2026.1.0.

Warning

You must call this function before A3DDllInitialize

Return values:
  • A3D_SUCCESS

  • A3D_ERROR – if not on Linux

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus deprecated_A3DAsmPartDefinitionFeatureTreesGet(const A3DAsmPartDefinition *pPartDefinition, A3DUns32 *puiSize, A3DFRMTree ***pppFeatureTrees)

Get all feature trees defined in the part definition.

Deprecated:

This function is deprecated. Please use the A3DFRMTree which are in the A3DAsmProductOccurrenceData instead.

Version

12. This will be removed in version 2026.1.0.

Version

10.2

Parameters:
  • pPartDefinition – part definition to query

  • puiSize – number of feature trees contained

  • pppFeatureTrees – feature tree array

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_ERROR

  • A3D_INVALID_LICENSE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure