Modifier and Type | Method and Description |
---|---|
IVector3 |
Space3D.adjustPosition(IVector3 pos)
Calculate a position according to the space borders.
|
IVector3 |
Space3D.getAreaSize()
Returns the size of the simulated area.
|
IVector3 |
Grid3D.getEmptyGridPosition()
Get an empty position in the grid.
|
IVector3 |
Space3D.getRandomPosition(IVector3 distance)
Retrieves a random position within the simulation area with a minimum
distance from the edge.
|
Modifier and Type | Method and Description |
---|---|
IVector3 |
Space3D.adjustPosition(IVector3 pos)
Calculate a position according to the space borders.
|
IVector1 |
Space3D.getDistance(IVector3 pos1,
IVector3 pos2)
Get the distance between three positions.
|
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.
|
IVector3 |
Space3D.getRandomPosition(IVector3 distance)
Retrieves a random position within the simulation area with a minimum
distance from the edge.
|
Collection |
Grid3D.getSpaceObjectsByGridPosition(IVector3 position,
Object type)
Get all SimObjects from a specific type at a specific grid position
|
void |
Space3D.setAreaSize(IVector3 areasize)
Set the area size.
|
void |
Grid3D.setAreaSize(IVector3 areasize)
Set the area size.
|
void |
Space3D.setPosition(Object id,
IVector3 pos)
Set the position of an object.
|
void |
Grid3D.setPosition(Object id,
IVector3 pos)
Set the position of an object.
|
Constructor and Description |
---|
ContinuousSpace3D(IVector3 areasize)
Creates a new
ContinuousSpace2D with the default name. |
ContinuousSpace3D(Object name,
IVector3 areasize)
Creates a new
ContinuousSpace2D with a special ID. |
Grid3D(IVector3 areasize)
Creates a new
ContinuousSpace2D with the default name. |
Grid3D(Object name,
IVector3 areasize)
Creates a new
ContinuousSpace2D with a special ID. |
Modifier and Type | Class and Description |
---|---|
class |
Vector3Double
Implementation of a cartesian 3-vector using double components.
|
class |
Vector3Int |
Modifier and Type | Field and Description |
---|---|
static IVector3 |
Vector3Int.ZERO
Zero vector.
|
static IVector3 |
Vector3Double.ZERO
Zero vector.
|
Modifier and Type | Method and Description |
---|---|
IVector3 |
Vector3Int.add(double scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
Vector3Double.add(double scalar) |
IVector3 |
IVector3.add(double scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
Vector3Int.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
Vector3Double.add(IVector1 scalar) |
IVector3 |
IVector3.add(IVector1 scalar)
Adds a scalar to each component of this vector.
|
IVector3 |
Vector3Int.add(IVector3 vector)
Adds another vector to this vector, adding individual components.
|
IVector3 |
Vector3Double.add(IVector3 vector) |
IVector3 |
IVector3.add(IVector3 vector)
Adds another vector to this vector, adding individual components.
|
IVector3 |
Vector3Int.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
Vector3Double.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
IVector3.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
Vector3Int.copy()
Makes a copy of the vector without using the complex clone interface.
|
IVector3 |
Vector3Double.copy() |
IVector3 |
IVector3.copy()
Makes a copy of the vector without using the complex clone interface.
|
IVector3 |
Vector3Int.divide(IVector3 vector)
Performs a division on the vector.
|
IVector3 |
Vector3Double.divide(IVector3 vector)
Performs a division on the vector.
|
IVector3 |
IVector3.divide(IVector3 vector)
Performs a division on the vector.
|
static IVector3 |
Vector3Double.getVector3(Double x,
Double y,
Double z)
Get a vector for three doubles.
|
IVector3 |
Vector3Int.mod(IVector3 modulus)
Applies a modulo vector.
|
IVector3 |
Vector3Double.mod(IVector3 modulus) |
IVector3 |
IVector3.mod(IVector3 modulus)
Applies a modulo vector.
|
IVector3 |
Vector3Int.multiply(double scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
Vector3Double.multiply(double scalar) |
IVector3 |
IVector3.multiply(double scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
Vector3Int.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
Vector3Double.multiply(IVector1 scalar) |
IVector3 |
IVector3.multiply(IVector1 scalar)
Performs a scalar multiplication (scaling) on the vector.
|
IVector3 |
Vector3Int.multiply(IVector3 vector)
Performs a multiplication on the vector.
|
IVector3 |
Vector3Double.multiply(IVector3 vector) |
IVector3 |
IVector3.multiply(IVector3 vector)
Performs a multiplication on the vector.
|
IVector3 |
Vector3Int.negate()
Negates the vector by negating its components.
|
IVector3 |
Vector3Double.negate() |
IVector3 |
IVector3.negate()
Negates the vector by negating its components.
|
IVector3 |
Vector3Int.negateX()
Negates the x-component.
|
IVector3 |
Vector3Double.negateX() |
IVector3 |
IVector3.negateX()
Negates the x-component.
|
IVector3 |
Vector3Int.negateY()
Negates the y-component.
|
IVector3 |
Vector3Double.negateY() |
IVector3 |
IVector3.negateY()
Negates the y-component.
|
IVector3 |
Vector3Int.negateZ()
Negates the z-component.
|
IVector3 |
Vector3Double.negateZ() |
IVector3 |
IVector3.negateZ()
Negates the z-component.
|
IVector3 |
Vector3Int.normalize()
Converts the vector to a unit vector (normalization)
|
IVector3 |
Vector3Double.normalize() |
IVector3 |
IVector3.normalize()
Converts the vector to a unit vector (normalization)
|
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) |
IVector3 |
IVector3.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) |
IVector3 |
IVector3.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]
|
IVector3 |
Vector3Int.subtract(double scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Double.subtract(double scalar) |
IVector3 |
IVector3.subtract(double scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Int.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Double.subtract(IVector1 scalar) |
IVector3 |
IVector3.subtract(IVector1 scalar)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Int.subtract(IVector3 vector)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Double.subtract(IVector3 vector) |
IVector3 |
IVector3.subtract(IVector3 vector)
Subtracts another vector to this vector, subtracting individual components.
|
IVector3 |
Vector3Int.zero() |
IVector3 |
Vector3Double.zero() |
IVector3 |
IVector3.zero()
Sets all vector components to zero.
|
Modifier and Type | Method and Description |
---|---|
IVector3 |
Vector3Int.add(IVector3 vector)
Adds another vector to this vector, adding individual components.
|
IVector3 |
Vector3Double.add(IVector3 vector) |
IVector3 |
IVector3.add(IVector3 vector)
Adds another vector to this vector, adding individual components.
|
IVector3 |
Vector3Int.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
Vector3Double.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
IVector3.assign(IVector3 vector)
Assigns this vector the values of another vector.
|
IVector3 |
Vector3Int.divide(IVector3 vector)
Performs a division on the vector.
|
IVector3 |
Vector3Double.divide(IVector3 vector)
Performs a division on the vector.
|
IVector3 |
IVector3.divide(IVector3 vector)
Performs a division on the vector.
|
boolean |
Vector3Int.equals(IVector3 vector)
Compares the vector to another vector.
|
boolean |
Vector3Double.equals(IVector3 vector) |
boolean |
IVector3.equals(IVector3 vector)
Compares the vector 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.
|
IVector3 |
Vector3Int.mod(IVector3 modulus)
Applies a modulo vector.
|
IVector3 |
Vector3Double.mod(IVector3 modulus) |
IVector3 |
IVector3.mod(IVector3 modulus)
Applies a modulo vector.
|
IVector3 |
Vector3Int.multiply(IVector3 vector)
Performs a multiplication on the vector.
|
IVector3 |
Vector3Double.multiply(IVector3 vector) |
IVector3 |
IVector3.multiply(IVector3 vector)
Performs a multiplication on the vector.
|
IVector3 |
Vector3Int.subtract(IVector3 vector)
Subtracts a scalar to each component of this vector.
|
IVector3 |
Vector3Double.subtract(IVector3 vector) |
IVector3 |
IVector3.subtract(IVector3 vector)
Subtracts another vector to this vector, subtracting individual components.
|
Constructor and Description |
---|
Vector3Double(IVector3 vector)
Creates a new Vector3 with the same value as the input vector.
|
Vector3Int(IVector3 vector)
Creates a new Vector3 with the same value as the input vector.
|
Modifier and Type | Method and Description |
---|---|
IVector3 |
IViewport3d.getAreaSize()
Gets the maximum displayable size.
|
IVector3 |
AbstractViewport3d.getAreaSize()
Gets the maximum displayable size.
|
IVector3 |
AbstractViewport3d.getAreaSize3d()
Gets the maximum displayable size.
|
IVector3 |
AbstractViewport3d.getPosition()
Gets the position of the viewport.
|
IVector3 |
AbstractViewport3d.getSize()
Gets the size of the display area.
|
Modifier and Type | Method and Description |
---|---|
void |
IViewport3d.setAreaSize(IVector3 vector)
Sets the maximum displayable size.
|
void |
AbstractViewport3d.setAreaSize(IVector3 areaSize)
Sets the maximum displayable size.
|
Constructor and Description |
---|
AbstractViewport3d(IPerspective perspective,
IVector3 areasize,
boolean isGrid,
boolean shader,
String camera,
ISpaceController spaceController) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisual2D.setRotation(IVector3 rotation)
Sets the rotation of the visual to a fixed rotation.
|
Modifier and Type | Field and Description |
---|---|
static IVector3 |
DrawableCombiner3d.DEG180X
Constant for 180 degree.
|
static IVector3 |
DrawableCombiner3d.DEG180Y |
static IVector3 |
DrawableCombiner3d.DEG180Z |
static IVector3 |
DrawableCombiner3d.DEG270X
Constant for 270 degree.
|
static IVector3 |
DrawableCombiner3d.DEG270Y |
static IVector3 |
DrawableCombiner3d.DEG270Z |
static IVector3 |
DrawableCombiner3d.DEG45X
Constant for 45 degree.
|
static IVector3 |
DrawableCombiner3d.DEG45Y |
static IVector3 |
DrawableCombiner3d.DEG45Z |
static IVector3 |
DrawableCombiner3d.DEG90X
Constant for 90 degree.
|
static IVector3 |
DrawableCombiner3d.DEG90Y |
static IVector3 |
DrawableCombiner3d.DEG90Z |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisual3d.setPosition(IVector3 pos)
Sets the position of the visual to a fixed position.
|
void |
AbstractVisual3d.setRotation(IVector3 rotation)
Sets the rotation of the visual to a fixed rotation.
|
void |
AbstractVisual3d.setSize(IVector3 size)
Sets the size (scale) of the visual to a fixed size.
|
Copyright © 2013. All Rights Reserved.