Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::setSubDMesh Method
Syntax
C++
OdResult setSubDMesh(const OdGePoint3dArray& vertexArray, const OdInt32Array& faceArray, OdInt32 subDLevel);

Creates a mesh using input arrays of vertices and faces. 

 

Parameters
Description
vertexArray
[in] Array of vertices.
faceArray
[in] Array of integers, describing faces.
subDLevel
[in] Level of smoothness.

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

Face array is arranged using the following pattern: the first number is the number a vertices a face has, the following numbers are indices of vertices, that form a face.

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