API Reference > OdGe Classes > OdGeSphere Class > OdGeSphere Methods > set Method > OdGeSphere::set Method (double, OdGePoint3d&)
OdGeSphere::set Method (double, OdGePoint3d&)
Syntax
C++
OdGeSphere& set(double radius, const OdGePoint3d& center);
Parameters 
Description 
double radius 
[in] The radius of this sphere.  
const OdGePoint3d& center 
[in] The origin of the this sphere. 

A reference to this OdGeSphere object.

Sets the parameters for this sphere according to the arguments. 

 

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