Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::getSubDividedNormalArray Method
Syntax
C++
OdResult getSubDividedNormalArray(OdGeVector3dArray& normalArray) const;

Calculates normals for all vertices of the current SubDMash entity taking into account the level of smoothing. 

 

Parameters
Description
normalArray
[out] Receives an array of normals.

A value of the OdResult type containing the result of the method execution.

The normal for a vertex is calculated as the average of all normals for the faces that include the vertex. This method takes into account the level of smoothness, which can take any value from 0 to 4.

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