API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::computeVolume Method
OdDbSubDMesh::computeVolume Method
Syntax
C++
OdResult computeVolume(double & retVolume) const;
Parameters 
Description 
double & retVolume 
[out] Volume of a mesh.  

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

Calculates the current volume of a watertight mesh. 

 

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