Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSurface::thicken Method
Syntax
C++
virtual OdResult thicken(double thickness, bool bBothSides, OdDb3dSolidPtr& pSolid) const;

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

 

Parameters
Description
thickness
[in] Amount to thicken the surface.
bBothSides
[in] Flag indicating whether the thickening should be applied to both sides of the surface.
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.

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