Modifier and Type | Method and Description |
---|---|
LogMapMark |
LogCategory.addMapMark(Level level,
String msg,
Location location)
Add mark to the map.
|
void |
LogCategory.addMapMark(Level level,
String msg,
Location location,
long duration)
Add mark to the map for specified time and add notice to the logs.
|
Modifier and Type | Method and Description |
---|---|
Location |
LogMapMark.getLocation()
Get location of mark.
|
Location |
LogMapMark.getLocation(Location entityLoc)
Get location, where mark is supposed to be.
|
Modifier and Type | Method and Description |
---|---|
static LogMapMark |
LogMapMark.createFixedLengthEvent(Level level,
String message,
Location location,
long duration)
Create mark on the map that will stay there for some time.
|
static LogMapMark |
LogMapMark.createVariableLengthEvent(Level level,
String message,
Location location)
Create starting map mark.
|
Location |
LogMapMark.getLocation(Location entityLoc)
Get location, where mark is supposed to be.
|
Modifier and Type | Method and Description |
---|---|
static double |
A.distanceFromRunningVector(Location agentLocation,
Velocity runningVector,
Location object) |
static double |
A.lineOfSightAngle(Location agentLocation,
double agentRotationRollRad,
Location object)
Returns degrees!
|
static Point2D |
A.projection(Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
Agent3DMBeanAdapterMBean.getLocation() |
Location |
Agent3DMBeanAdapter.getLocation() |
Location |
Agent3DJMXProxy.getLocation() |
Modifier and Type | Field and Description |
---|---|
static Location |
Location.NONE
Location representing NONE.
|
static Location |
Location.ZERO
Location(0,0,0).
|
Modifier and Type | Method and Description |
---|---|
Location |
Location.add(Location l)
Retreives sum of this location and given location.
|
static Location |
Location.add(Location l1,
Location l2)
Retreives sum of two given locations.
|
static Location |
Location.add(Location l,
Velocity v)
Adds given velocity to given location.
|
Location |
Location.add(Velocity v)
Adds given velocity to this location.
|
Location |
Location.addX(double x)
Adds to the X coordinate.
|
Location |
Location.addY(double y)
Adds to the Y coordinate.
|
Location |
Location.addZ(double z)
Adds to the Z coordinate.
|
Location |
Velocity.asLocation() |
Location |
Location.clone() |
Location |
Location.cross(Location b)
Calculates cross product of this Location and Lcoations b
|
static Location |
Location.getAverage(Collection<Location> locations)
Calculates average of all 'locations'.
|
Location |
Location.getLocation()
Retreives the location itself to implement
ILocated . |
Location |
ILocated.getLocation()
Retreives current location of the object.
|
Location |
Location.getNormalized()
Normalizes this Location
|
Location |
Location.interpolate(Location l,
double d)
Lineary interpolates between this location and given location.
|
static Location |
Location.interpolate(Location l1,
Location l2,
double d)
Linearly interpolates between two given locations.
|
Location |
Location.invert()
Calculates inverse Location
|
Location |
Location.mul(javax.vecmath.Matrix3d matrix)
Projects this Location (vector) using matrix from parameter
|
Location |
Location.scale(double d)
Scales values of all three coordinates by given multiplier.
|
Location |
Location.scaleX(double x)
Scales the X coordinate.
|
Location |
Location.scaleY(double y)
Scales the Y coordinate.
|
Location |
Location.scaleZ(double z)
Scales the Z coordinate.
|
Location |
Location.setX(double x)
Sets the X coordinate.
|
Location |
Location.setY(double y)
Sets the Y coordinate.
|
Location |
Location.setZ(double z)
Sets the Z coordinate.
|
Location |
Location.sub(Location l)
Retreives subtraction of given location from this location.
|
static Location |
Location.sub(Location l1,
Location l2)
Retreives subtraction of two given locations.
|
static Location |
Location.sub(Location l,
Velocity v)
Subtracts given velocity from given location.
|
Location |
Location.sub(Velocity v)
Subtracts given velocity from this location.
|
Location |
Rotation.toLocation()
Converts this Rotation into Location.
|
Location |
Rotation.toLocation(Rotation.Order order)
Converts this Rotation into Location.
|
Modifier and Type | Method and Description |
---|---|
Location |
Location.add(Location l)
Retreives sum of this location and given location.
|
static Location |
Location.add(Location l1,
Location l2)
Retreives sum of two given locations.
|
static Location |
Location.add(Location l,
Velocity v)
Adds given velocity to given location.
|
Location |
Location.cross(Location b)
Calculates cross product of this Location and Lcoations b
|
double |
Location.dot(Location b)
Calculates dot product of this Location and Location b
|
double |
Location.dot2D(Location b)
Calculates dot product of this Location and Location b in 2D (x,y coord
only)
|
static boolean |
Location.equal(Location l1,
Location l2)
Tells, whether two given locations equal.
|
static boolean |
Location.equal(Location l1,
Location l2,
double epsilon)
Tells, whether the distance between coordinates of two given locations is
less than or equal to the given epsilon.
|
boolean |
Location.equals(Location l,
double epsilon)
Tells, whether the distance between coordinates of this location and
given location is less than or equal to the given epsilon.
|
double |
Location.getDistance(Location l)
Calculates the distance between this and given location.
|
static double |
Location.getDistance(Location l1,
Location l2)
Calculates the distance between two given locations.
|
double |
Location.getDistance2D(Location l)
Calculates the distance between this and given location (ignoring 'z'
coordinate).
|
static double |
Location.getDistance2D(Location l1,
Location l2)
Calculates the distance between two given locations (ignoring 'z'
coordinate).
|
double |
Location.getDistanceL1(Location l)
Calculates the Manhattan distance between this and given location.
|
static double |
Location.getDistanceL1(Location l1,
Location l2)
Calculates the Manhattan distance between two given locations.
|
double |
Location.getDistanceLinf(Location l)
Calculates the Chebyshev distance between this and given location.
|
static double |
Location.getDistanceLinf(Location l1,
Location l2)
Calculates the Chebyshev distance between two given locations.
|
double |
Location.getDistancePlane(Location l)
Calculates the distance between this and given location after being
projected to the (x,y) plane.
|
static double |
Location.getDistancePlane(Location l1,
Location l2)
Calculates the distance between two given locations after being projected
to the (x,y) plane.
|
double |
Location.getDistanceSquare(Location l)
Calculates the square of the distance between this and given location.
|
static double |
Location.getDistanceSquare(Location l1,
Location l2)
Calculates the square of the distance between two given locations.
|
double |
Location.getDistanceZ(Location location)
Returns difference between z-coords (this.z - location.z).
|
Location |
Location.interpolate(Location l,
double d)
Lineary interpolates between this location and given location.
|
static Location |
Location.interpolate(Location l1,
Location l2,
double d)
Linearly interpolates between two given locations.
|
Location |
Location.sub(Location l)
Retreives subtraction of given location from this location.
|
static Location |
Location.sub(Location l1,
Location l2)
Retreives subtraction of two given locations.
|
static Location |
Location.sub(Location l,
Velocity v)
Subtracts given velocity from given location.
|
Modifier and Type | Method and Description |
---|---|
static Location |
Location.getAverage(Collection<Location> locations)
Calculates average of all 'locations'.
|
Constructor and Description |
---|
Location(Location source)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
protected Location |
LocationProperty.cloneValue() |
Constructor and Description |
---|
LocationProperty(WorldObjectId objId,
String identifier,
Location value,
Class compositeClass) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.