Topology Body (the topology base entity)

Sets and gets attributes that apply to all A3DTopoBody entities. More...

Modules

 Topology Body Data
 Structure and bitmasks for establishing the bounding box orientation and context of any type of A3DTopoBody entity.
 

Typedefs

typedef A3DStatus(* PFA3DTopoBodyGet) (const A3DTopoBody *pBody, A3DTopoBodyData *pData)
 Populates the A3DTopoBodyData structure. More...
 
typedef A3DStatus(* PFA3DTopoBodySet) (A3DTopoBody *pBody, const A3DTopoBodyData *pData)
 Sets a previously created A3DTopoBody with an A3DTopoBodyData structure. More...
 

Detailed Description

Sets and gets attributes that apply to all A3DTopoBody entities.

Entity type is kA3DTypeTopoBody

See also
A3DTopoBody, A3DTopoBodyData, A3DTopoBodyGet, A3DTopoBodySet

Typedef Documentation

◆ PFA3DTopoBodyGet

typedef A3DStatus( * PFA3DTopoBodyGet) (const A3DTopoBody *pBody, A3DTopoBodyData *pData)

Populates the A3DTopoBodyData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
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

◆ PFA3DTopoBodySet

typedef A3DStatus( * PFA3DTopoBodySet) (A3DTopoBody *pBody, const A3DTopoBodyData *pData)

Sets a previously created A3DTopoBody with an A3DTopoBodyData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SET_INCONSISTENT_EMPTY
A3D_SUCCESS
Note
Because an A3DTopoBody entity is an abstract class, you cannot create directly such entity. Instead, use the appropriate derived function (such as A3DTopoSingleWireBodyCreate or A3DTopoBrepDataCreate) to create a specific topology entity. Then use this function to specify values in the entity base class. For example, this function specifies a value for the A3DTopoBodyData::m_pContext.