com.sygem.jazz3d3.primitive
Class Torus3d

java.lang.Object
  extended bycom.sygem.jazz3d3.Object3d
      extended bycom.sygem.jazz3d3.primitive.Torus3d

public class Torus3d
extends Object3d

Create a torus object (looks like a doughnut).

Version:
3.0a
See Also:
Object3d

Field Summary
 
Fields inherited from class com.sygem.jazz3d3.Object3d
USE_ONE_RENDERER, WRAP_FRONT, WRAP_TOP
 
Constructor Summary
Torus3d(double a, double b, double c, int hSections, int vSections, double x, double y, double z)
          Default constructor.
 
Methods inherited from class com.sygem.jazz3d3.Object3d
addChild, addQuad, addTriangle, addVertex, applyFaceChanges, cleanUp, culled, getCenter, getChildObjects, getCollidable, getCulling, getFace, getFaceColour, getID, getName, getNumberOfFaces, getNumberOfSubFaces, getNumberOfSubVertices, getNumberOfVertices, getOrientationMatrix, getRenderer, getRotationMatrix, getShapeArray, getUseVertexUVCoords, getVertex, getVertexArray, getVisible, getWorldVertex, init, pick, pickClosest, pickFace, prepForDisplay, recreateVertexNormals, rotateLocal, rotateLocal, rotateWorld, rotateWorld, scaleObject, setAllTextures, setAmbientColour, setCollidable, setColour, setCulling, setFaceColour, setFaceColourQuick, setID, setName, setPosition, setRenderer, setShapeArray, setTexture, setTexture, setUseVertexUVCoords, setVertexArray, setVertexTexture, setVisible, toString, translateLocal, translateWorld, visible, wrapUV
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Torus3d

public Torus3d(double a,
               double b,
               double c,
               int hSections,
               int vSections,
               double x,
               double y,
               double z)
Default constructor.

Parameters:
a - The distance from the torus center to the ring center
b - The x-radius of the torus ring
c - The y-radius of the torus ring
hSections - The number of horizontal sections the torus is made from
vSections - The number of vertical sections the torus is made from
x - The x position of the center of the torus
y - The y position of the center of the torus
z - The z position of the center of the torus


Copyright © 1999-2006 SyGem Software. All Rights Reserved.