API Reference > OdGe Classes > OdGeTorus Class > OdGeTorus Methods > OdGeTorus::setMajorRadius Method
OdGeTorus::setMajorRadius Method
Syntax
C++
OdGeTorus& setMajorRadius(double radius);
Parameters 
Description 
majorRadius 
[in] The major radius of this torus. 

The reference to this OdGeTorus object.

Sets the major radius of this torus. 

 

Angles along U will be reset to the maximum allowable for the established minorRadius and majorRadius.

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