|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.Velocity
public class Velocity
Velocity
| Constructor Summary | |
|---|---|
Velocity()
No-argument constructor, initializes velocity to zero |
|
Velocity(double x,
double y,
double z)
X/Y/Z constructor, values in cm/sec |
|
| Method Summary | |
|---|---|
void |
add(Velocity v)
Add Velocity vectors |
void |
clear()
Initialize velocity to 0 |
void |
div(int divisor)
Divide Velocity by a scalar |
double |
getX()
Return velocity in X direction in cm/sec |
double |
getY()
Return velocity in Y direction in cm/sec |
double |
getZ()
Return velocity in Z direction in cm/sec |
void |
setX(double x)
Set velocity in X direction in cm/sec |
void |
setY(double y)
Set velocity in Y direction in cm/sec |
void |
setZ(double z)
Set velocity in Z direction in cm/sec |
java.lang.String |
toString()
Return String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Velocity()
public Velocity(double x,
double y,
double z)
| Method Detail |
|---|
public double getX()
public double getY()
public double getZ()
public void setX(double x)
public void setY(double y)
public void setZ(double z)
public void clear()
public void add(Velocity v)
public void div(int divisor)
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 | |||||||