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. | |
Functions | |
A3DStatus | A3DTopoBodyGet (const A3DTopoBody *pBody, A3DTopoBodyData *pData) |
Populates the A3DTopoBodyData structure. More... | |
A3DStatus | A3DTopoBodySet (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
Function Documentation
◆ A3DTopoBodyGet()
A3DStatus A3DTopoBodyGet | ( | const A3DTopoBody * | pBody, |
A3DTopoBodyData * | pData | ||
) |
Populates the A3DTopoBodyData structure.
- Version
- 2.0
◆ A3DTopoBodySet()
A3DStatus A3DTopoBodySet | ( | A3DTopoBody * | pBody, |
const A3DTopoBodyData * | pData | ||
) |
Sets a previously created A3DTopoBody with an A3DTopoBodyData structure.
- Version
- 2.0
- Returns
- 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.