API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > setCrease Method > OdDbSubDMesh::setCrease Method (OdDbFullSubentPathArray&, double)
OdDbSubDMesh::setCrease Method (OdDbFullSubentPathArray&, double)
Syntax
C++
OdResult setCrease(const OdDbFullSubentPathArray& subentPaths, double creaseVal);
Parameters 
Description 
const OdDbFullSubentPathArray& subentPaths 
[in] Array of subentities, to which crease will be applied.  
double creaseVal 
[in] Flag, defining when to apply the crease.  

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

Sharpens faces, edges, vertices 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.