A3DEntityGetType

A3DStatus A3DEntityGetType(const A3DEntity *pEntity, A3DEEntityType *peEntityType)
A3DStatus A3DEntityGetType(const A3DEntity* pEntity, A3DEEntityType* peEntityType)

Gets the actual type of the entity.

This function returns an integer that specifies an Entity type. The integer corresponds to one of the values described by the A3DEEntityType enumeration.

In case of non exposed surface or curve, the function abstracts away the entity type by filling-in peEntityType with either kA3DTypeSurfBase or kA3DTypeCrvBase respectively. This behavior is most commonly encountered with the Inventor format.

2.0

Returns

A3D_SUCCESS on success, or an error code on failure