API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::createSphere Method
OdModelerGeometry::createSphere Method
Syntax
C++
virtual void createSphere(double radius) = 0;
Parameters 
Description 
double radius 
[in] Sphere radius. 

Creates a sphere centered about the world origin. 

 

The following constraints apply:

  • radius >= 1e-6

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