Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::imprintEntity Method
Syntax
C++
virtual OdResult imprintEntity(const OdDbEntity * pEntity);

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

 

Parameters
Description
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.

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-2022. Open Design Alliance All rights reserved.