API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::setBox Method
OdDbSubDMesh::setBox Method
Syntax
C++
OdResult setBox(double xLen, double yLen, double zLen, OdInt32 divX, OdInt32 divY, OdInt32 divZ, OdInt32 subDLevel);
Parameters 
Description 
double xLen 
[in] Box depth.  
double yLen 
[in] Box width.  
double zLen 
[in] Box height.  
OdInt32 divX 
[in] Specify how many divisions are made along the depth direction.  
OdInt32 divY 
[in] Specify how many divisions are made along the width direction.  
OdInt32 divZ 
[in] Specify how many divisions are made along the height direction.  
OdInt32 subDLevel 
[in] Level of smoothness.  

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

Creates a mesh of a box. 

 

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