Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSurface::createOffsetSurface Method (OdDbEntity*, double, bool, OdDbObjectId&)
Syntax
C++
static OdResult createOffsetSurface(OdDbEntity* pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId& offsetSurfaceId);

Creates an offset surface and includes it in the current database. 

 

Parameters
Description
pInputSurface
[in] Pointer to the surface to be offset.
dOffsetDistance
[in] Offset distance.
bAssociativeEnabled
[in] Associativity flag value. The associativity flag indicates whether the patch surface associativity is enabled (if true) or disabled (if false).
offsetSurfaceId
[out] Offset surface identifier to return.

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

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.