API Reference > FacetModeler Namespace > Classes > Sphere Class > Sphere::Sphere Constructor
Sphere::Sphere Constructor
Syntax
C++
Sphere(const OdGePoint3d& center, double radius, OdUInt32 approx);
Parameters 
Description 
const OdGePoint3d& center 
[in] Sphere center coordinates.  
double radius 
[in] Radius value.  
OdUInt32 approx 
[in] Approximation. 

Constructor. Creates a sphere with the specified center point, radius and approximation. 

 

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