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

eOk if imprinting entity onto the ModelerGeometry object is successful or an appropriate error code if not.

Intersects the given entity with this ModelerGeometry object and imprints their intersection graph onto the ModelerGeometry object. 

 

The given entity must be one of the following:

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

If the ModelerGeometry object 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.

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