gleToroid

Generalized torus, lathe with circle contour.

Signature

gleToroid( 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
gleToroid( rToroid , startRadius , drdTheta , startZ , dzdTheta , startXform , dXformdTheta , startTheta , sweepTheta )
gleToroid( 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 gleHelicoid