API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::thicken Method
OdDbSurface::thicken Method
Syntax
C++
virtual OdResult thicken(double thickness, bool bBothSides, OdDb3dSolidPtr& pSolid) const;
Parameters 
Description 
double thickness 
[in] Amount to thicken the surface.  
bool bBothSides 
[in] Flag indicating whether the thickening should be applied to both sides of the surface.  
OdDb3dSolidPtr& pSolid 
[out] Reference to an OdDb3dSolid object pointer created during the thickening. If thickening fails, this parameter is NULL.
 

eOk if successful, or an appropriate error code otherwise.

Creates a 3D solid object by thickening the surface by a specified amount. 

 

A solid created by this method is not included in the database, so the caller is responsible for managing the memory allocated for the solid. If the thickness is less than zero, the surface will be thickened in the opposite direction. 

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.