Close

Relief for ODA Team in Ukraine

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

Calculates normals for all vertices of the current SubDMash entity. 

 

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 assumes that the smoothness level is zero.

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