DOKK / manpages / debian 11 / libgle3-dev / gleToroid.3gle.en
gleToroid(3GLE) GLE gleToroid(3GLE)

gleToroid - Generalized torus, lathe with circle contour.

void gleToroid (gleDouble rToroid,

gleDouble up[3],
gleDouble startRadius,
gleDouble drdTheta,
gleDouble startZ,
gleDouble dzdTheta,
gleDouble startXform[2][3],
gleDouble dXformdTheta[2][3],
gleDouble startTheta,
gleDouble sweepTheta);

circle contour (torus) radius
spiral starts in x-y plane
change in radius per revolution
starting z value
change in Z per revolution
starting contour affine transformation
tangent change xform per revolution
start angle in x-y plane
degrees to spiral around

Generalized Torus. Similar to gleLathe, except contour is a circle. Uses gleLathe to draw.

gleSpiral, gleHelicoid

Linas Vepstas (linas@linas.org)

3.0 GLE