A3DTopoBodySet
-
A3DStatus
A3DTopoBodySet(A3DTopoBody *pBody, const A3DTopoBodyData *pData) Sets a previously created
A3DTopoBodywith anA3DTopoBodyDatastructure.2.0Return Values
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_SET_INCONSISTENT_EMPTY:
A3D_SUCCESS:
Because an
A3DTopoBodyentity is an abstract class, you cannot create directly such entity. Instead, use the appropriate derived function (such asA3DTopoSingleWireBodyCreate()orA3DTopoBrepDataCreate()) 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 theA3DTopoBodyData::m_pContext.Returns
A3D_SUCCESSon success, or an error code on failure