API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::createSphere Method
OdDb3dSolid::createSphere Method
Syntax
C++
virtual void createSphere(double radius);
Parameters 
Description 
double radius 
[in] Radius for the sphere. 

Creates a sphere centered about the world origin with the specified radius. 

 

The following constraints are applied: 

 

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