|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.j3d.renderer.java3d.geom.SpiralTorus
A torus where you specify inner radius, outer radius, inner-inner radius, spacing of spirals, arclength of an average quad, coordinates, and appearance.
This algorithm is not totally correct: small breaks appear between each spiral.
| Constructor Summary | |
SpiralTorus()
Constructs a Torus of inner radius 0.2, outer radius 0.3, inner-inner radius 1.0, arclength of a quad 0.1, spacing 0.05, at coordinates 0, 0, 0, with null Appearance |
|
SpiralTorus(javax.media.j3d.Appearance torusAppearance)
Constructs a Torus of inner radius 0.2, outer radius 0.3, inner-inner radius 1.0, arclength of a quad 0.1, spacing 0.05, at coordinates 0, 0, 0, with Appearance torusAppearance |
|
SpiralTorus(float ir,
float or)
Constructs a Torus of inner radius 'ir', outer radius 'or', inner-inner radius 1.0, arclength of a quad 0.1, spacing 0.05, at coordinates 0, 0, 0, with null Appearance |
|
SpiralTorus(float ir,
float or,
javax.media.j3d.Appearance torusAppearance)
Constructs a Torus of inner radius 'ir', outer radius 'or', inner-inner radius 1.0, arclength of a quad 0.1, spacing 0.05, at coordinates 0, 0, 0, with Appearance torusAppearance |
|
SpiralTorus(float ir,
float or,
float arclength)
Constructs a Torus of inner radius 'ir', outer radius 'or', inner-inner radius 1.0, arclength of a quad 'arclength', spacing 0.05, at coordinates 0, 0, 0, with null Appearance |
|
SpiralTorus(float ir,
float or,
float arclength,
javax.media.j3d.Appearance torusAppearance)
Constructs a Torus of inner radius 'ir', outer radius 'or', inner-inner radius 1.0, arclength of a quad 'arclength', spacing 0.05, at coordinates 0, 0, 0, with Appearance torusAppearance |
|
SpiralTorus(float ir,
float or,
float iir,
float spacing,
float arclength,
float xpos,
float ypos,
float zpos,
javax.media.j3d.Appearance torusAppearance)
Constructs a Torus centered at 'xpos', 'ypos', 'zpos', with inner radius 'ir', outer radius 'or', arclength of a quad 'arclength', and Appearance 'torusAppearance' |
|
| Method Summary | |
javax.media.j3d.Shape3D |
getChild()
|
void |
Scale(float xs,
float ys,
float zs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SpiralTorus()
public SpiralTorus(float ir,
float or)
public SpiralTorus(javax.media.j3d.Appearance torusAppearance)
public SpiralTorus(float ir,
float or,
float arclength)
public SpiralTorus(float ir,
float or,
javax.media.j3d.Appearance torusAppearance)
public SpiralTorus(float ir,
float or,
float arclength,
javax.media.j3d.Appearance torusAppearance)
public SpiralTorus(float ir,
float or,
float iir,
float spacing,
float arclength,
float xpos,
float ypos,
float zpos,
javax.media.j3d.Appearance torusAppearance)
| Method Detail |
public void Scale(float xs,
float ys,
float zs)
public javax.media.j3d.Shape3D getChild()
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||