Topology Context

Functions

A3DStatus

A3DTopoContextGet

A3DStatus

A3DTopoContextCreate

Detailed Description

group a3d_topocontext

Creates and accesses A3DTopoContext entities, which specify topology context and common attributes such as granularity, tolerance, and thickness.

Entity type is kA3DTypeTopoContext

Function Documentation

A3DStatus A3DTopoContextGet(const A3DTopoContext *pContext, A3DTopoContextData *pData)

Populates the A3DTopoContextData structure.

Version

2.0

Return values:
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DTopoContextCreate(const A3DTopoContextData *pData, A3DTopoContext **ppContext)

Creates an A3DTopoContext from an A3DTopoContextData structure.

Version

2.0

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure