|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.geo.GeoObject jasi.sim.geo.spherical.SphericalMove
public final class SphericalMove
Spherical movement.
Field Summary |
---|
Fields inherited from interface jasi.sim.geo.Geometric |
---|
BEGIN, END, MIDLE |
Constructor Summary | |
---|---|
SphericalMove(Coordinate a)
Constructor for a "non-moving" spherical move. |
|
SphericalMove(Coordinate a,
Time t,
Coordinate b,
Speed v)
Constructor for a spherical move. |
|
SphericalMove(Coordinate a,
Time start,
Coordinate b,
Time end)
Constructor for a spherical move. |
|
SphericalMove(SphericalMove position)
Constructor of a position. |
|
SphericalMove(java.lang.String position)
Constructor of a position. |
Method Summary | |
---|---|
Space |
distance(Move p,
Time t)
Retrieve the distance at a given time of this movement from that movement. |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
Move |
moveAt(Time t)
Get the movement at a given time. |
Coordinate |
readCoordinate(Time t)
Get the coordinate at another time. |
SpaceVec |
readSpaceVec(Time t)
Get the space vector of this location for a given time. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class jasi.sim.geo.GeoObject |
---|
getContent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SphericalMove(Coordinate a, Time t, Coordinate b, Speed v)
a
- Start coordinate.t
- Start time.b
- End coordinate.v
- Speed.public SphericalMove(Coordinate a)
a
- The coordinate.public SphericalMove(Coordinate a, Time start, Coordinate b, Time end)
a
- Start coordinate.start
- Start time.b
- End coordinate.end
- End time.public SphericalMove(SphericalMove position)
position
- The string representation of a position.public SphericalMove(java.lang.String position)
position
- The string representation of a position.Method Detail |
---|
public Coordinate readCoordinate(Time t)
t
- The another time.
public SpaceVec readSpaceVec(Time t)
t
- That time.
public Move moveAt(Time t)
moveAt
in interface Move
t
- That time.
public Space distance(Move p, Time t)
distance
in interface Move
p
- That location.t
- The another time.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- That object which is compared with this object.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |