|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsnakeprogram3d.display3d.MoveableSphere
public class MoveableSphere
The most basic class for creating a point. A sphere.
Constructor Summary | |
---|---|
MoveableSphere(double size)
Creates a new moveable sphere at the origin with radius size |
Method Summary | |
---|---|
javax.media.j3d.Appearance |
createAppearance()
|
javax.media.j3d.BranchGroup |
getBranchGroup()
This is required to add to a group |
void |
moveTo(javax.vecmath.Point3d p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveableSphere(double size)
size
- determines the radius of your sphereMethod Detail |
---|
public javax.media.j3d.Appearance createAppearance()
public void moveTo(javax.vecmath.Point3d p)
public javax.media.j3d.BranchGroup getBranchGroup()
DataObject
getBranchGroup
in interface DataObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |