A3DTopoBodySet

A3DStatus A3DTopoBodySet(A3DTopoBody *pBody, const A3DTopoBodyData *pData)
A3DStatus A3DTopoBodySet(A3DTopoBody* pBody, const A3DTopoBodyData* pData)

Sets a previously created A3DTopoBody with an A3DTopoBodyData structure.

2.0

Return Values

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_SET_INCONSISTENT_EMPTY:

A3D_SUCCESS:

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.

Returns

A3D_SUCCESS on success, or an error code on failure