| Modifier and Type | Method and Description |
|---|---|
static double |
A.distanceFromRunningVector(Location agentLocation,
Velocity runningVector,
Location object) |
static Point2D |
A.projection(Velocity velocity) |
| Modifier and Type | Method and Description |
|---|---|
Velocity |
Agent3DMBeanAdapterMBean.getVelocity() |
Velocity |
Agent3DMBeanAdapter.getVelocity() |
Velocity |
Agent3DJMXProxy.getVelocity() |
| Modifier and Type | Field and Description |
|---|---|
static Velocity |
Velocity.NONE
Velocity representing NONE.
|
static Velocity |
Velocity.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Velocity |
Velocity.absolute()
Converts values of all three coordinates to absolute values.
|
Velocity |
Velocity.add(Velocity v)
Retreives sum of this velocity and given velocity.
|
static Velocity |
Velocity.add(Velocity v1,
Velocity v2)
Retreives sum of two given velocities.
|
Velocity |
Velocity.align()
Projects the velocity into the (x, y) plane, i.e.
|
Velocity |
Velocity.clone() |
Velocity |
Velocity.cross(Velocity v)
Computes cross product of this and other given velocity.
|
static Velocity |
Velocity.cross(Velocity v1,
Velocity v2)
Computes cross product of two given velocities.
|
Velocity |
Velocity.getVelocity()
Retreives the velocity itself to implement
ILocomotive. |
Velocity |
ILocomotive.getVelocity()
Retreives current direction and velocity of movement of the object.
|
Velocity |
Velocity.interpolate(Velocity v,
double d)
Linearly interpolates between this velocity and given velocity.
|
static Velocity |
Velocity.interpolate(Velocity v1,
Velocity v2,
double d)
Linearly interpolates between two given velocities.
|
Velocity |
Velocity.negate()
Negates values of all three coordinates.
|
Velocity |
Velocity.normalize()
Retreives normalized vector of the velocity.
|
Velocity |
Velocity.scale(double d)
Scales values of all three coordinates by given multiplier.
|
Velocity |
Velocity.setX(double x)
Sets the X coordinate.
|
Velocity |
Velocity.setY(double y)
Sets the Y coordinate.
|
Velocity |
Velocity.setZ(double z)
Sets the Z coordinate.
|
Velocity |
Velocity.sideways()
Computes sideways velocity, i.e.
|
Velocity |
Velocity.sub(Velocity v)
Retreives subtraction of given velocity from this velocity.
|
static Velocity |
Velocity.sub(Velocity v1,
Velocity v2)
Retreives subtraction of two given velocities.
|
| Modifier and Type | Method and Description |
|---|---|
static Location |
Location.add(Location l,
Velocity v)
Adds given velocity to given location.
|
Velocity |
Velocity.add(Velocity v)
Retreives sum of this velocity and given velocity.
|
Location |
Location.add(Velocity v)
Adds given velocity to this location.
|
static Velocity |
Velocity.add(Velocity v1,
Velocity v2)
Retreives sum of two given velocities.
|
Velocity |
Velocity.cross(Velocity v)
Computes cross product of this and other given velocity.
|
static Velocity |
Velocity.cross(Velocity v1,
Velocity v2)
Computes cross product of two given velocities.
|
double |
Velocity.dot(Velocity v)
Computes dot product of this and other given velocity.
|
static double |
Velocity.dot(Velocity v1,
Velocity v2)
Computes dot product of two given velocities.
|
static boolean |
Velocity.equal(Velocity v1,
Velocity v2)
Tells, whether two given velocities equal.
|
static boolean |
Velocity.equal(Velocity v1,
Velocity v2,
double epsilon)
Tells, whether the distance between coordinates of two given velocities
is less than or equal to the given epsilon.
|
boolean |
Velocity.equals(Velocity v,
double epsilon)
Tells, whether the distance between coordinates of this velocity and
given velocity is less than or equal to the given epsilon.
|
Velocity |
Velocity.interpolate(Velocity v,
double d)
Linearly interpolates between this velocity and given velocity.
|
static Velocity |
Velocity.interpolate(Velocity v1,
Velocity v2,
double d)
Linearly interpolates between two given velocities.
|
static Location |
Location.sub(Location l,
Velocity v)
Subtracts given velocity from given location.
|
Velocity |
Velocity.sub(Velocity v)
Retreives subtraction of given velocity from this velocity.
|
Location |
Location.sub(Velocity v)
Subtracts given velocity from this location.
|
static Velocity |
Velocity.sub(Velocity v1,
Velocity v2)
Retreives subtraction of two given velocities.
|
| Constructor and Description |
|---|
Velocity(Velocity velocity)
Creates velocity same as the the passed one.
|
| Modifier and Type | Method and Description |
|---|---|
protected Velocity |
VelocityProperty.cloneValue() |
| Constructor and Description |
|---|
VelocityProperty(WorldObjectId objId,
String identifier,
Velocity value,
Class compositeClass) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.