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] A Pointer to an entity to be imprinted.
 

Returns eOk if imprinting 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 eNotImplementedYet status for other modelers.

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