API Reference > Classes > PRC Surface Classes > OdPrcTorus Class
OdPrcTorus Class
OdPrcTorusOdPrcTorus
Syntax
C++
class OdPrcTorus : public OdPrcSurface;

PrcTorus.h

 

Class representing a torus centred at the origin. The major axis of this surface is placed in the XY plane.

Destroys the torus. 
Returns the current major radius value. 
Returns the current minor radius value. 
Sets a new major radius value.
 
Sets a new minor radius value.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.