logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gleToroid - Generalized torus, lathe with circle contour.

Arguments

rToroid   circle contour (torus) radius

       startRadius
                 spiral starts in x-y plane

       drdTheta  change in radius per revolution

       startZ    starting z value

       dzdTheta  change in Z per revolution

       startXform
                 starting contour affine transformation

       dXformdTheta
                 tangent change xform per revolution

       startTheta
                 start angle in x-y plane

       sweepTheta
                 degrees to spiral around

Author

       Linas Vepstas (linas@linas.org)

GLE                                                    3.0                                       gleToroid(3GLE)

Description

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

Name

       gleToroid - Generalized torus, lathe with circle contour.

See Also

       gleSpiral, gleHelicoid

Syntax

       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);

See Also