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] Radius. 

Creates a sphere centered about the world origin. 

 

The following constraints apply: 

  • radius >= 1e-6.

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