Edge

Types

A3DTopoEdgeData

Functions

A3DStatus

A3DTopoEdgeGet

A3DStatus

A3DTopoEdgeCreate

A3DStatus

A3DTopoEdgeGetCoEdges

A3DStatus

A3DTopoEdgeGetSurfaces

A3DStatus

A3DTopoEdgeGetOrCompute3DCurve

Detailed Description

group a3d_edge

Entity type is kA3DTypeTopoEdge.

Function Documentation

A3DStatus A3DTopoEdgeGet(const A3DTopoEdge *pEdge, A3DTopoEdgeData *pData)

Populates the A3DTopoEdgeData 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 in case of success or an error code

A3DStatus A3DTopoEdgeCreate(const A3DTopoEdgeData *pData, A3DTopoEdge **ppEdge)

Creates an A3DTopoEdge from an A3DTopoEdgeData structure.

Version

2.0

Return values:
  • A3D_EDGE_BAD_INTERVAL

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code

A3DStatus A3DTopoEdgeGetCoEdges(const A3DTopoBrepData *psBrepData, const A3DTopoEdge *psEdge, A3DUns32 *piNbCoedges, A3DTopoCoEdge ***papsCoEdges)

Return all A3DTopoCoEdge from an A3DTopoEdge within the given A3DTopoBrepData.

Version

8.2

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code

A3DStatus A3DTopoEdgeGetSurfaces(const A3DTopoBrepData *psBrepData, const A3DTopoEdge *psEdge, A3DUns32 *piNbSurfaces, A3DSurfBase ***papsSurfaces)

Return all A3DSurfBase from an A3DTopoEdge within the given A3DTopoBrepData.

Version

8.2

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code

A3DStatus A3DTopoEdgeGetOrCompute3DCurve(A3DTopoBrepData const *psBrepData, A3DTopoEdge const *psEdge, A3DCrvBase const **pps3DCurve)

Return a A3DCrvBase (3D curve or computed A3DCrvOnSurf) from an A3DTopoEdge within the given A3DTopoBrepData.

Version

8.2

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code