API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::createBox Method
OdDb3dSolid::createBox Method
Syntax
C++
virtual void createBox(double xLen, double yLen, double zLen);
Parameters 
Description 
double xLen 
[in] Dimension along the WCS X-axis.  
double yLen 
[in] Dimension along the WCS Y-axis.  
double zLen 
[in] Dimension along the WCS Z-axis. 

Creates a WCS aligned solid box centered about the world origin. 

 

The following constraints are applied: 

 

  • xLen >= 1e-6.
  • yLen >= 1e-6.
  • zLen >= 1e-6.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.