API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::imprintEntity Method
OdDb3dSolid::imprintEntity Method
Syntax
C++
virtual OdResult imprintEntity(const OdDbEntity * pEntity);
Parameters 
Description 
const OdDbEntity * pEntity 
[in] Pointer to the entity to be imprinted.
 

eOk if imprinting of the entity onto the solid is successful or an appropriate error code if not.

Intersects the given entity with the solid and imprints their intersection graph onto the solid. 

 

The given entity must be one of the following:

  • Curve
  • OdDb3dSolid
  • Body
  • Region
  • Trace
  • OdDbSolid
  • Face

 

If the solid is null, or if the given entity is not one of the entities listed above, eInvalidInput is returned. 

If as a result of intersection a closed loop of new edges is created, a new face will be made. If an open loop of edges is made, it can be added to an existing loop as a spur. Or it can be added as a slit in the face. 

This method is implemented only for Spatial modeler and returns the eNotImplementedYet status for other modelers.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.