SG_TORUS structure

 

The SG_TORUS structure is a presentation of a polygonal torus.

 

Has the following fields

 

double  Raduis1;                - torus radius

double  Raduis2;                - torus thickness

short     MeridiansCount1        - the number of torus meridians

short     MeridiansCount2        - the number of torus cut meridians

Illustration:

tor_1

 

 

MeridiansCount1 = 4

MeridiansCount2 = 5

tor_2

 

 

MeridiansCount1 = 10

MeridiansCount2 = 5

 

tor_3

 

 

MeridiansCount1 = 4

MeridiansCount2 = 5

 

 

Defined in sg3D.h