API Reference > OdGe Classes > OdGeTorus Class > OdGeTorus Methods > set Method > OdGeTorus::set Method (double, double, OdGePoint3d&, OdGeVector3d&)
OdGeTorus::set Method (double, double, OdGePoint3d&, OdGeVector3d&)
Syntax
C++
Parameters 
Description 
double majorRadius 
[in] The major radius of this torus.  
double minorRadius 
[in] The minor radius of this torus.  
const OdGePoint3d& center 
[in] The origin of the this torus.  
const OdGeVector3d& axisOfSymmetry 
[in] Axis of symmetry (rotation). 

The reference to this OdGeTorus object.

Sets the parameters for this torus according to the arguments. 

 

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