gleHelicoid

Generalized torus, spiral with circle contour.

Signature

gleHelicoid( gleDouble( rToroid ) , gleDouble[3]( up ) , gleDouble( startRadius ) , gleDouble( drdTheta ) , gleDouble( startZ ) , gleDouble( dzdTheta ) , gleDouble[2][3]( startXform ) , gleDouble[2][3]( dXformdTheta ) , gleDouble( startTheta ) , gleDouble( sweepTheta ) )-> void
gleHelicoid( rToroid , startRadius , drdTheta , startZ , dzdTheta , startXform , dXformdTheta , startTheta , sweepTheta )
gleHelicoid( gleDouble(rToroid), gleDouble(startRadius), gleDouble(drdTheta), gleDouble(startZ), gleDouble(dzdTheta), arrays.GLdoubleArray(startXform), arrays.GLdoubleArray(dXformdTheta), gleDouble(startTheta), gleDouble(sweepTheta) ) -> None

Parameters

VariablesDescription
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

See Also

gleSpiral gleToroid

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gleHelicoid
OpenGL-Demo PyOpenGL-Demo/GLE/helix.py Lines: 22