Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::offsetFaces Method
Syntax
C++
virtual OdResult offsetFaces(const OdArray<OdDbSubentId *> & faceSubentIds, double offsetDistance) = 0;

Offsets the specified faces of this ModelerGeometry object for the specified distance. 

 

Parameters
Description
faceSubentIds
[in] Array of faces' subentity IDs. Faces with specified IDs will be offset.
offsetDistance
[in] Offset distance.

eOk if successful or an appropriate error code in the other case.

The following constraints are applied:

  • The number of specified faces (in faceSubentIds parameter) must be more than zero.
  • offsetDistance >= minus half of the max side of the ModelerGeometry object's bounding box.
  • |offsetDistance| >= 1e-6.
Copyright © 2002-2022. Open Design Alliance All rights reserved.