API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > setCrease Method > OdDbSubDMesh::setCrease Method (double)
OdDbSubDMesh::setCrease Method (double)
Syntax
C++
OdResult setCrease(double creaseVal);
Parameters 
Description 
double creaseVal 
[in] Flag, defining when to apply the crease.  

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

Sharpens the edges of a mesh. 

 

The creaseVal parameter values can be the following: -1 - always apply crease 0 - never apply any positive value - apply crease starting from that level.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.