Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::setCrease Method (const OdDbFullSubentPathArray&, double)
Syntax
C++
OdResult setCrease(const OdDbFullSubentPathArray& subentPaths, double creaseVal);

Sharpens faces, edges, vertices of a mesh. 

 

Parameters
Description
subentPaths
[in] Array of subentities, to which the crease will be applied.
creaseVal
[in] Flag, defining when to apply the crease.

Returns eOk if the operation completed successfully, or an appropriate error code otherwise.

The value of the creaseVal parameter can be one of the following:

Value
Description
-1
Always apply the crease.
0
Never apply the crease.
any positive value
Apply the crease starting from this level.
Copyright © 2002-2022. Open Design Alliance All rights reserved.