API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > createOffsetSurface Method > OdDbSurface::createOffsetSurface Method (OdDbEntity*, double, OdDbEntityPtr&)
OdDbSurface::createOffsetSurface Method (OdDbEntity*, double, OdDbEntityPtr&)
Syntax
C++
static OdResult createOffsetSurface(OdDbEntity* pInputSurface, double dOffsetDistance, OdDbEntityPtr& offsetSurface);
Parameters 
Description 
OdDbEntity* pInputSurface 
[in] Pointer to the surface to be offset.  
double dOffsetDistance 
[in] Offset distance.  
OdDbEntityPtr& offsetSurface 
[out] Offset surface to return.
 

eOk if the offset surface was successfully created or an appropriate error code in the other case.

Creates an offset surface. 

 

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

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