|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.physics.gravity.CenterOfGravityTag
public class CenterOfGravityTag
Tag implementation to provide a Physical object with a center of gravity, in the case of an object with separate center of mass and center of gravity.
Field Summary | |
---|---|
static java.lang.String |
VAR_NAME
|
Constructor Summary | |
---|---|
CenterOfGravityTag(Vector cog)
|
Method Summary | |
---|---|
Vector |
getCenter()
|
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VAR_NAME
Constructor Detail |
---|
public CenterOfGravityTag(Vector cog)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Tag
public Vector getCenter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |