Modifier and Type | Method and Description |
---|---|
IVector1 |
Space2D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Grid2D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Space2D.getDistance(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the distance between two coordinates (x or y).
|
IVector1 |
Space2D.getDistance(IVector2 pos1,
IVector2 pos2)
Get the distance between two positions.
|
IVector1 |
Grid2D.getShortestDirection(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the shortest (direct) direction between two coordinates.
|
Modifier and Type | Method and Description |
---|---|
IVector1 |
Space2D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Grid2D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Space2D.getDistance(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the distance between two coordinates (x or y).
|
ISpaceObject |
Space2D.getNearestObject(IVector2 position,
IVector1 maxdist,
String type)
Returns the nearest object to the given position within a
maximum distance from the position.
|
Set<ISpaceObject> |
Space2D.getNearObjects(IVector2 position,
IVector1 maxdist)
Retrieve all objects in the distance for a position
|
Set |
Space2D.getNearObjects(IVector2 position,
IVector1 maxdist,
IFilter filter)
Retrieve all objects in the distance for a position
|
Set |
Space2D.getNearObjects(IVector2 position,
IVector1 maxdist,
String type)
Retrieve all objects in the distance for a position
|
Set |
Grid2D.getNearObjects(IVector2 position,
IVector1 distance,
String type)
Retrieve all objects in the distance for a position.
|
Set |
Space2D.getNearObjects(IVector2 position,
IVector1 maxdist,
String type,
IFilter filter)
Retrieve all objects in the distance for a position
|
IVector1 |
Grid2D.getShortestDirection(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the shortest (direct) direction between two coordinates.
|
Modifier and Type | Method and Description |
---|---|
IVector1 |
Grid3D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Space3D.calculateDistance(IVector1 dx,
IVector1 dy,
IVector1 dz)
Calculate the distance in the space.
|
IVector1 |
Space3D.getDistance(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the distance between two coordinates (x or y).
|
IVector1 |
Space3D.getDistance(IVector3 pos1,
IVector3 pos2)
Get the distance between three positions.
|
IVector1 |
Grid3D.getShortestDirection(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the shortest (direct) direction between two coordinates.
|
Modifier and Type | Method and Description |
---|---|
IVector1 |
Grid3D.calculateDistance(IVector1 dx,
IVector1 dy)
Calculate the distance in the space.
|
IVector1 |
Space3D.calculateDistance(IVector1 dx,
IVector1 dy,
IVector1 dz)
Calculate the distance in the space.
|
IVector1 |
Space3D.getDistance(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the distance between two coordinates (x or y).
|
ISpaceObject |
Space3D.getNearestObject(IVector3 position,
IVector1 maxdist,
String type)
Returns the nearest object to the given position within a
maximum distance from the position.
|
Set |
Space3D.getNearObjects(IVector3 position,
IVector1 maxdist)
Retrieve all objects in the distance for a position
|
Set |
Space3D.getNearObjects(IVector3 position,
IVector1 maxdist,
IFilter filter)
Retrieve all objects in the distance for a position
|
Set |
Space3D.getNearObjects(IVector3 position,
IVector1 maxdist,
String type)
Retrieve all objects in the distance for a position
|
Set |
Grid3D.getNearObjects(IVector3 position,
IVector1 distance,
String type)
Retrieve all objects in the distance for a position.
|
IVector1 |
Grid3D.getShortestDirection(IVector1 pos1,
IVector1 pos2,
boolean isx)
Get the shortest (direct) direction between two coordinates.
|
Modifier and Type | Class and Description |
---|---|
class |
Vector1Double
Implementation of a 1-vector using a double value.
|
class |
Vector1Int |
class |
Vector1Long |
Modifier and Type | Field and Description |
---|---|
static IVector1 |
Vector1Long.ZERO
Zero vector
|
static IVector1 |
Vector1Int.ZERO
Zero vector
|
static IVector1 |
Vector1Double.ZERO
Zero vector
|
Modifier and Type | Method and Description |
---|---|
IVector1 |
Vector1Long.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector1 |
Vector1Int.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector1 |
Vector1Double.add(IVector1 vector) |
IVector1 |
IVector1.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector1 |
Vector1Long.cbrt()
Calculate the cbrt root.
|
IVector1 |
Vector1Int.cbrt() |
IVector1 |
Vector1Double.cbrt() |
IVector1 |
IVector1.cbrt()
Calculate the cube root.
|
IVector1 |
Vector1Long.copy()
Makes a copy of the vector without using the complex clone interface.
|
IVector1 |
Vector1Int.copy()
Makes a copy of the vector without using the complex clone interface.
|
IVector1 |
Vector1Double.copy() |
IVector1 |
IVector1.copy()
Makes a copy of the vector without using the complex clone interface.
|
IVector1 |
Vector2Int.getDirection()
Returns the direction (theta) of the vector.
|
IVector1 |
Vector2Double.getDirection() |
IVector1 |
SynchronizedVector2Wrapper.getDirection()
Returns the direction (theta) of the vector.
|
IVector1 |
IVector2.getDirection()
Returns the direction (theta) of the vector.
|
IVector1 |
Vector2Int.getDirection(IVector2 vector) |
IVector1 |
Vector2Double.getDirection(IVector2 vector) |
IVector1 |
SynchronizedVector2Wrapper.getDirection(IVector2 vector) |
IVector1 |
IVector2.getDirection(IVector2 vector)
Returns the direction (theta) of the vector.
|
IVector1 |
Vector1Long.getDistance(IVector1 vector)
Returns the distance to another vector
|
IVector1 |
Vector1Int.getDistance(IVector1 vector)
Returns the distance to another vector
|
IVector1 |
Vector1Double.getDistance(IVector1 vector) |
IVector1 |
IVector1.getDistance(IVector1 vector)
Returns the distance to another vector
|
IVector1 |
Vector2Int.getDistance(IVector2 vector)
Returns the distance to another vector.
|
IVector1 |
Vector2Double.getDistance(IVector2 vector) |
IVector1 |
SynchronizedVector2Wrapper.getDistance(IVector2 vector)
Returns the distance to another vector.
|
IVector1 |
IVector2.getDistance(IVector2 vector)
Returns the distance to another vector.
|
IVector1 |
Vector3Int.getDistance(IVector3 vector)
Returns the distance to another vector.
|
IVector1 |
Vector3Double.getDistance(IVector3 vector) |
IVector1 |
IVector3.getDistance(IVector3 vector)
Returns the distance to another vector.
|
IVector1 |
Vector3Int.getLength()
Returns the length (magnitude) of the vector.
|
IVector1 |
Vector3Double.getLength() |
IVector1 |
Vector2Int.getLength()
Returns the length (magnitude) of the vector.
|
IVector1 |
Vector2Double.getLength() |
IVector1 |
SynchronizedVector2Wrapper.getLength()
Returns the length (magnitude) of the vector.
|
IVector1 |
IVector3.getLength()
Returns the length (magnitude) of the vector.
|
IVector1 |
IVector2.getLength()
Returns the length (magnitude) of the vector.
|
IVector1 |
Vector2Int.getMean()
Returns the mean average of the vector components.
|
IVector1 |
Vector2Double.getMean() |
IVector1 |
SynchronizedVector2Wrapper.getMean()
Returns the mean average of the vector components.
|
IVector1 |
IVector2.getMean()
Returns the mean average of the vector components.
|
IVector1 |
Vector2Int.getSquaredLength()
Returns the squared length (magnitude) of the vector.
|
IVector1 |
Vector2Double.getSquaredLength()
Returns the squared length (magnitude) of the vector.
|
IVector1 |
SynchronizedVector2Wrapper.getSquaredLength()
Returns the squared length (magnitude) of the vector.
|
IVector1 |
IVector2.getSquaredLength()
Returns the squared length (magnitude) of the vector.
|
static IVector1 |
Vector1Double.getVector1(Double val) |
IVector1 |
Vector3Int.getX()
Returns the x-component of the vector.
|
IVector1 |
Vector3Double.getX() |
IVector1 |
Vector2Int.getX()
Returns the x-component of the vector.
|
IVector1 |
Vector2Double.getX() |
IVector1 |
SynchronizedVector2Wrapper.getX()
Returns the x-component of the vector.
|
IVector1 |
IVector3.getX()
Returns the x-component of the vector.
|
IVector1 |
IVector2.getX()
Returns the x-component of the vector.
|
IVector1 |
Vector3Int.getY()
Returns the y-component of the vector.
|
IVector1 |
Vector3Double.getY() |
IVector1 |
Vector2Int.getY()
Returns the y-component of the vector.
|
IVector1 |
Vector2Double.getY() |
IVector1 |
SynchronizedVector2Wrapper.getY()
Returns the y-component of the vector.
|
IVector1 |
IVector3.getY()
Returns the y-component of the vector.
|
IVector1 |
IVector2.getY()
Returns the y-component of the vector.
|
IVector1 |
Vector3Int.getZ()
Returns the z-component of the vector.
|
IVector1 |
Vector3Double.getZ() |
IVector1 |
IVector3.getZ()
Returns the z-component of the vector.
|
IVector1 |
Vector1Long.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
Vector1Int.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
Vector1Double.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
IVector1.mod(IVector1 mod) |
IVector1 |
Vector1Long.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector1 |
Vector1Int.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector1 |
Vector1Double.multiply(IVector1 vector) |
IVector1 |
IVector1.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector1 |
Vector1Long.negate()
Negates the vector by negating its components.
|
IVector1 |
Vector1Int.negate()
Negates the vector by negating its components.
|
IVector1 |
Vector1Double.negate() |
IVector1 |
IVector1.negate()
Negates the vector by negating its components.
|
IVector1 |
Vector1Long.sqrt()
Calculate the square root.
|
IVector1 |
Vector1Int.sqrt()
Calculate the square root.
|
IVector1 |
Vector1Double.sqrt()
Calculate the square root.
|
IVector1 |
IVector1.sqrt()
Calculate the square root.
|
IVector1 |
Vector1Long.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
Vector1Int.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
Vector1Double.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
IVector1.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
Vector1Long.zero()
Sets the vector component to zero.
|
IVector1 |
Vector1Int.zero()
Sets the vector component to zero.
|
IVector1 |
Vector1Double.zero()
Sets the vector component to zero.
|
IVector1 |
IVector1.zero()
Sets the vector component to zero.
|
Modifier and Type | Method and Description |
---|---|
IVector3 |
Vector3Int.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
Vector3Double.add(IVector1 scalar) |
IVector2 |
Vector2Int.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector2 |
Vector2Double.add(IVector1 scalar) |
IVector1 |
Vector1Long.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector1 |
Vector1Int.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector1 |
Vector1Double.add(IVector1 vector) |
IVector2 |
SynchronizedVector2Wrapper.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
IVector3.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector2 |
IVector2.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector1 |
IVector1.add(IVector1 vector)
Adds another vector to this vector, adding individual components.
|
IVector2 |
Vector1Long.createVector2(IVector1 sec)
Create a vector2 from this and another vector.
|
IVector2 |
Vector1Int.createVector2(IVector1 sec)
Create a vector2 from this and another vector.
|
IVector2 |
Vector1Double.createVector2(IVector1 sec)
Create a vector2 from this and another vector.
|
IVector2 |
IVector1.createVector2(IVector1 sec)
Create a vector2 from this and another vector.
|
boolean |
Vector1Long.equals(IVector1 vector)
Compares the vector to another vector.
|
boolean |
Vector1Int.equals(IVector1 vector)
Compares the vector to another vector.
|
boolean |
Vector1Double.equals(IVector1 vector) |
boolean |
IVector1.equals(IVector1 vector)
Compares the vector to another vector.
|
IVector1 |
Vector1Long.getDistance(IVector1 vector)
Returns the distance to another vector
|
IVector1 |
Vector1Int.getDistance(IVector1 vector)
Returns the distance to another vector
|
IVector1 |
Vector1Double.getDistance(IVector1 vector) |
IVector1 |
IVector1.getDistance(IVector1 vector)
Returns the distance to another vector
|
boolean |
Vector1Long.greater(IVector1 vector)
Tests if the vector is greater than another vector.
|
boolean |
Vector1Int.greater(IVector1 vector)
Tests if the vector is greater than another vector.
|
boolean |
Vector1Double.greater(IVector1 vector) |
boolean |
IVector1.greater(IVector1 vector)
Tests if the vector is greater than another vector.
|
boolean |
Vector1Long.less(IVector1 vector)
Tests if the vector is less than another vector.
|
boolean |
Vector1Int.less(IVector1 vector)
Tests if the vector is less than another vector.
|
boolean |
Vector1Double.less(IVector1 vector) |
boolean |
IVector1.less(IVector1 vector)
Tests if the vector is less than another vector.
|
IVector1 |
Vector1Long.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
Vector1Int.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
Vector1Double.mod(IVector1 mod)
Calculate the modulo.
|
IVector1 |
IVector1.mod(IVector1 mod) |
IVector3 |
Vector3Int.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
Vector3Double.multiply(IVector1 scalar) |
IVector2 |
Vector2Int.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector2 |
Vector2Double.multiply(IVector1 scalar) |
IVector1 |
Vector1Long.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector1 |
Vector1Int.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector1 |
Vector1Double.multiply(IVector1 vector) |
IVector2 |
SynchronizedVector2Wrapper.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
IVector3.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector2 |
IVector2.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector1 |
IVector1.multiply(IVector1 vector)
Performs a multiplication on the vector.
|
IVector3 |
Vector3Int.randomX(IVector1 lower,
IVector1 upper)
Sets the x-component to a random value in the interval [lower,upper]
|
IVector3 |
Vector3Double.randomX(IVector1 lower,
IVector1 upper) |
IVector2 |
Vector2Int.randomX(IVector1 lower,
IVector1 upper)
Sets the x-component to a random value in the interval [lower,upper]
|
IVector2 |
Vector2Double.randomX(IVector1 lower,
IVector1 upper) |
IVector2 |
SynchronizedVector2Wrapper.randomX(IVector1 lower,
IVector1 upper)
Sets the x-component to a random value in the interval [lower,upper]
|
IVector3 |
IVector3.randomX(IVector1 lower,
IVector1 upper)
Sets the x-component to a random value in the interval [lower,upper]
|
IVector2 |
IVector2.randomX(IVector1 lower,
IVector1 upper)
Sets the x-component to a random value in the interval [lower,upper]
|
IVector3 |
Vector3Int.randomY(IVector1 lower,
IVector1 upper)
Sets the y-component to a random value in the interval [lower,upper]
|
IVector3 |
Vector3Double.randomY(IVector1 lower,
IVector1 upper) |
IVector2 |
Vector2Int.randomY(IVector1 lower,
IVector1 upper)
Sets the y-component to a random value in the interval [lower,upper]
|
IVector2 |
Vector2Double.randomY(IVector1 lower,
IVector1 upper) |
IVector2 |
SynchronizedVector2Wrapper.randomY(IVector1 lower,
IVector1 upper)
Sets the y-component to a random value in the interval [lower,upper]
|
IVector3 |
IVector3.randomY(IVector1 lower,
IVector1 upper)
Sets the y-component to a random value in the interval [lower,upper]
|
IVector2 |
IVector2.randomY(IVector1 lower,
IVector1 upper)
Sets the y-component to a random value in the interval [lower,upper]
|
IVector3 |
Vector3Int.randomZ(IVector1 lower,
IVector1 upper)
Sets the z-component to a random value in the interval [lower,upper]
|
IVector3 |
Vector3Double.randomZ(IVector1 lower,
IVector1 upper) |
IVector3 |
IVector3.randomZ(IVector1 lower,
IVector1 upper)
Sets the z-component to a random value in the interval [lower,upper]
|
void |
Vector3Double.setX(IVector1 x) |
void |
Vector2Int.setX(IVector1 x) |
void |
Vector2Double.setX(IVector1 x) |
void |
Vector3Double.setY(IVector1 y) |
void |
Vector2Int.setY(IVector1 y) |
void |
Vector2Double.setY(IVector1 y) |
void |
Vector3Double.setZ(IVector1 z) |
IVector3 |
Vector3Int.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Double.subtract(IVector1 scalar) |
IVector2 |
Vector2Int.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector2 |
Vector2Double.subtract(IVector1 scalar) |
IVector1 |
Vector1Long.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
Vector1Int.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector1 |
Vector1Double.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector2 |
SynchronizedVector2Wrapper.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
IVector3.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector2 |
IVector2.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector1 |
IVector1.subtract(IVector1 vector)
Subtracts another vector to this vector, subtracting individual components.
|
Modifier and Type | Method and Description |
---|---|
IVector1 |
Perspective2D.getSelectorDistance()
Gets the maximum distance for selecting objects.
|
Modifier and Type | Method and Description |
---|---|
void |
Perspective2D.setSelectorDistance(IVector1 maxDist)
Sets the maximum distance for selecting objects.
|
Copyright © 2013. All Rights Reserved.