Uses of Interface
jadex.application.space.envsupport.math.IVector2

Packages that use IVector2
jadex.application.space.envsupport.environment.space2d   
jadex.application.space.envsupport.math   
jadex.application.space.envsupport.observer.graphics   
jadex.application.space.envsupport.observer.graphics.drawable   
jadex.application.space.envsupport.observer.graphics.java2d   
jadex.application.space.envsupport.observer.graphics.layer   
jadex.application.space.envsupport.observer.gui   
jadex.application.space.envsupport.observer.gui.plugin   
jadex.application.space.envsupport.observer.perspective   
 

Uses of IVector2 in jadex.application.space.envsupport.environment.space2d
 

Fields in jadex.application.space.envsupport.environment.space2d declared as IVector2
protected  IVector2 Space2D.areasize
          Area size.
 

Methods in jadex.application.space.envsupport.environment.space2d that return IVector2
 IVector2 Space2D.adjustPosition(IVector2 pos)
          Calculate a position according to the space borders.
 IVector2 Space2D.getAreaSize()
          Returns the size of the simulated area.
 IVector2 Grid2D.getEmptyGridPosition()
          Get an empty position in the grid.
 IVector2 Space2D.getRandomPosition(IVector2 distance)
          Retrieves a random position within the simulation area with a minimum distance from the edge.
 

Methods in jadex.application.space.envsupport.environment.space2d with parameters of type IVector2
 IVector2 Space2D.adjustPosition(IVector2 pos)
          Calculate a position according to the space borders.
 IVector1 Space2D.getDistance(IVector2 pos1, IVector2 pos2)
          Get the distance between two positions.
 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 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.
 IVector2 Space2D.getRandomPosition(IVector2 distance)
          Retrieves a random position within the simulation area with a minimum distance from the edge.
 Collection Grid2D.getSpaceObjectsByGridPosition(IVector2 position, Object type)
          Get all SimObjects from a specific type at a specific grid position
 void Space2D.setAreaSize(IVector2 areasize)
          Set the area size.
 void Grid2D.setAreaSize(IVector2 areasize)
          Set the area size.
 void Space2D.setPosition(Object id, IVector2 pos)
          Set the position of an object.
 void Grid2D.setPosition(Object id, IVector2 pos)
          Set the position of an object.
 

Constructors in jadex.application.space.envsupport.environment.space2d with parameters of type IVector2
ContinuousSpace2D(IVector2 areasize)
          Creates a new ContinuousSpace2D with the default name.
ContinuousSpace2D(Object name, IVector2 areasize)
          Creates a new ContinuousSpace2D with a special ID.
Grid2D(IVector2 areasize)
          Creates a new ContinuousSpace2D with the default name.
Grid2D(Object name, IVector2 areasize)
          Creates a new ContinuousSpace2D with a special ID.
Space2D(IVector2 areasize)
          Initializes the 2D-Space.
 

Uses of IVector2 in jadex.application.space.envsupport.math
 

Classes in jadex.application.space.envsupport.math that implement IVector2
 class SynchronizedVector2Wrapper
          Wrapper for synchronized access of a vector2
 class Vector2Double
          Implementation of a cartesian 2-vector using double components.
 class Vector2Int
          Implementation of a 2-vector using integer values.
 

Fields in jadex.application.space.envsupport.math declared as IVector2
static IVector2 Vector2Int.ZERO
          Zero vector.
static IVector2 Vector2Double.ZERO
          Zero vector.
 

Methods in jadex.application.space.envsupport.math that return IVector2
 IVector2 Vector2Int.add(double scalar)
          Adds a scalar to each component of this vector.
 IVector2 Vector2Double.add(double scalar)
           
 IVector2 SynchronizedVector2Wrapper.add(double scalar)
          Adds a scalar to each component of this vector.
 IVector2 IVector2.add(double scalar)
          Adds a scalar to each component of this vector.
 IVector2 Vector2Int.add(IVector1 scalar)
          Adds a scalar to each component of this vector.
 IVector2 Vector2Double.add(IVector1 scalar)
           
 IVector2 SynchronizedVector2Wrapper.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.
 IVector2 Vector2Int.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 Vector2Double.add(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 IVector2.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 Vector2Int.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 Vector2Double.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 SynchronizedVector2Wrapper.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 IVector2.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 Vector2Int.copy()
          Makes a copy of the vector without using the complex clone interface.
 IVector2 Vector2Double.copy()
           
 IVector2 SynchronizedVector2Wrapper.copy()
          Makes a copy of the vector without using the complex clone interface.
 IVector2 IVector2.copy()
          Makes a copy of the vector without using the complex clone interface.
 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.
 IVector2 Vector2Int.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 Vector2Double.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 SynchronizedVector2Wrapper.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 IVector2.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 Vector3Double.getDirection()
           
 IVector2 IVector3.getDirection()
          Returns the direction (theta) of the vector.
static IVector2 Vector2Double.getVector2(Double a, Double b)
          Get a vector for two doubles.
static IVector2 Vector2Int.getVector2(Integer a, Integer b)
          Get a vector for two doubles.
 IVector2 Vector2Int.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 Vector2Double.mod(IVector2 modulus)
           
 IVector2 SynchronizedVector2Wrapper.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 IVector2.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 Vector2Int.multiply(double scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 Vector2Double.multiply(double scalar)
           
 IVector2 SynchronizedVector2Wrapper.multiply(double scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 IVector2.multiply(double scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 Vector2Int.multiply(IVector1 scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 Vector2Double.multiply(IVector1 scalar)
           
 IVector2 SynchronizedVector2Wrapper.multiply(IVector1 scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 IVector2.multiply(IVector1 scalar)
          Performs a scalar multiplication (scaling) on the vector.
 IVector2 Vector2Int.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 Vector2Double.multiply(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 IVector2.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 Vector2Int.negate()
          Negates the vector by negating its components.
 IVector2 Vector2Double.negate()
           
 IVector2 SynchronizedVector2Wrapper.negate()
          Negates the vector by negating its components.
 IVector2 IVector2.negate()
          Negates the vector by negating its components.
 IVector2 Vector2Int.negateX()
          Negates the x-component.
 IVector2 Vector2Double.negateX()
           
 IVector2 SynchronizedVector2Wrapper.negateX()
          Negates the x-component.
 IVector2 IVector2.negateX()
          Negates the x-component.
 IVector2 Vector2Int.negateY()
          Negates the y-component.
 IVector2 Vector2Double.negateY()
           
 IVector2 SynchronizedVector2Wrapper.negateY()
          Negates the y-component.
 IVector2 IVector2.negateY()
          Negates the y-component.
 IVector2 Vector2Int.normalize()
          Converts the vector to a unit vector (normalization)
 IVector2 Vector2Double.normalize()
           
 IVector2 SynchronizedVector2Wrapper.normalize()
          Converts the vector to a unit vector (normalization)
 IVector2 IVector2.normalize()
          Converts the vector to a unit vector (normalization)
 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]
 IVector2 IVector2.randomX(IVector1 lower, IVector1 upper)
          Sets the x-component to a random value in the interval [lower,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]
 IVector2 IVector2.randomY(IVector1 lower, IVector1 upper)
          Sets the y-component to a random value in the interval [lower,upper]
 IVector2 Vector2Int.subtract(double scalar)
          Subtracts a scalar to each component of this vector.
 IVector2 Vector2Double.subtract(double scalar)
           
 IVector2 SynchronizedVector2Wrapper.subtract(double scalar)
          Subtracts a scalar to each component of this vector.
 IVector2 IVector2.subtract(double scalar)
          Subtracts a scalar to each component of this vector.
 IVector2 Vector2Int.subtract(IVector1 scalar)
          Subtracts a scalar to each component of this vector.
 IVector2 Vector2Double.subtract(IVector1 scalar)
           
 IVector2 SynchronizedVector2Wrapper.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.
 IVector2 Vector2Int.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 IVector2 Vector2Double.subtract(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 IVector2 IVector2.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 IVector2 Vector2Int.zero()
          Sets all vector components to zero.
 IVector2 Vector2Double.zero()
           
 IVector2 SynchronizedVector2Wrapper.zero()
          Sets all vector components to zero.
 IVector2 IVector2.zero()
          Sets all vector components to zero.
 

Methods in jadex.application.space.envsupport.math with parameters of type IVector2
 IVector2 Vector2Int.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 Vector2Double.add(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 IVector2.add(IVector2 vector)
          Adds another vector to this vector, adding individual components.
 IVector2 Vector2Int.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 Vector2Double.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 SynchronizedVector2Wrapper.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 IVector2.assign(IVector2 vector)
          Assigns this vector the values of another vector.
 IVector2 Vector2Int.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 Vector2Double.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 SynchronizedVector2Wrapper.divide(IVector2 vector)
          Performs a division on the vector.
 IVector2 IVector2.divide(IVector2 vector)
          Performs a division on the vector.
 boolean Vector2Int.equals(IVector2 vector)
          Compares the vector to another vector.
 boolean Vector2Double.equals(IVector2 vector)
           
 boolean SynchronizedVector2Wrapper.equals(IVector2 vector)
          Compares the vector to another vector.
 boolean IVector2.equals(IVector2 vector)
          Compares the vector 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.
 IVector2 Vector2Int.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 Vector2Double.mod(IVector2 modulus)
           
 IVector2 SynchronizedVector2Wrapper.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 IVector2.mod(IVector2 modulus)
          Applies a modulo vector.
 IVector2 Vector2Int.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 Vector2Double.multiply(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 IVector2.multiply(IVector2 vector)
          Performs a multiplication on the vector.
 IVector2 Vector2Int.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 IVector2 Vector2Double.subtract(IVector2 vector)
           
 IVector2 SynchronizedVector2Wrapper.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 IVector2 IVector2.subtract(IVector2 vector)
          Subtracts another vector to this vector, subtracting individual components.
 

Constructors in jadex.application.space.envsupport.math with parameters of type IVector2
SynchronizedVector2Wrapper(IVector2 vector)
           
Vector2Double(IVector2 vector)
          Creates a new Vector2 with the same value as the input vector.
Vector2Int(IVector2 vector)
          Creates a new Vector2 with the same value as the input vector.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.graphics
 

Fields in jadex.application.space.envsupport.observer.graphics declared as IVector2
protected  IVector2 AbstractViewport.inversionFlag_
          Axis inversion flag
protected  IVector2 AbstractViewport.pixPosition_
          Pixel-corrected viewport position.
protected  IVector2 AbstractViewport.position_
          Virtual Viewport position.
 

Methods in jadex.application.space.envsupport.observer.graphics that return IVector2
 IVector2 IViewport.getAreaSize()
          Gets the maximum displayable size.
 IVector2 AbstractViewport.getAreaSize()
          Gets the maximum displayable size.
 IVector2 AbstractViewport.getCanvasSize()
          Returns the size of the canvas as a vector.
 IVector2 AbstractViewport.getObjectShift()
          Gets the shift of all objects.
 IVector2 AbstractViewport.getPaddedSize()
          Returns the padded size
 IVector2 AbstractViewport.getPixelSize()
          Returns the size of a pixel.
 IVector2 IViewport.getPosition()
          Gets the position of the viewport.
 IVector2 AbstractViewport.getPosition()
          Gets the position of the viewport.
 IVector2 IViewport.getSize()
          Gets the size of the display area.
 IVector2 AbstractViewport.getSize()
          Gets the size of the display area.
 IVector2 IViewport.getWorldCoordinates(int pixelX, int pixelY)
          Converts pixel coordinates into world coordinates
 IVector2 AbstractViewport.getWorldCoordinates(int pixelX, int pixelY)
          Converts pixel coordinates into world coordinates
 

Methods in jadex.application.space.envsupport.observer.graphics with parameters of type IVector2
 void IViewportListener.leftClicked(IVector2 position)
          This method gets called on left clicks.
 void IViewport.setAreaSize(IVector2 areaSize)
          Sets the maximum displayable size.
 void AbstractViewport.setAreaSize(IVector2 areaSize)
          Sets the maximum displayable size.
 void IViewport.setObjectShift(IVector2 objectShift)
          Sets the shift of all objects.
 void AbstractViewport.setObjectShift(IVector2 objectShift)
          Sets the shift of all objects.
 void IViewport.setPosition(IVector2 pos)
          Sets the position of the bottom left corner of the viewport.
 void AbstractViewport.setPosition(IVector2 pos)
          Sets the position of the viewport.
 void IViewport.setSize(IVector2 size)
          Sets the viewport size.
 void AbstractViewport.setSize(IVector2 size)
          Sets the size of the display area.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.graphics.drawable
 

Methods in jadex.application.space.envsupport.observer.graphics.drawable that return IVector2
static IVector2 Text.getBasePosition(AbstractViewport vp, IVector2 dcPos, IVector2 position, IVector2 canvasSize, boolean invX, boolean invY)
           
 

Methods in jadex.application.space.envsupport.observer.graphics.drawable with parameters of type IVector2
static IVector2 Text.getBasePosition(AbstractViewport vp, IVector2 dcPos, IVector2 position, IVector2 canvasSize, boolean invX, boolean invY)
           
static float Text.getBasicFontScale(IVector2 canvasSize, IVector2 areaSize, IVector2 size)
           
 void AbstractVisual2D.setPosition(IVector2 pos)
          Sets the position of the visual to a fixed position.
 void AbstractVisual2D.setSize(IVector2 size)
          Sets the size (scale) of the visual to a fixed size.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.graphics.java2d
 

Methods in jadex.application.space.envsupport.observer.graphics.java2d with parameters of type IVector2
 void TiledLayerJ2DRenderer.draw(IPerspective persp, Layer layer, IVector2 areaSize, ViewportJ2D vp)
          Draws the layer.
 void ILayerJ2DRenderer.draw(IPerspective persp, Layer layer, IVector2 areaSize, ViewportJ2D vp)
          Draws the layer.
 void GridLayerJ2DRenderer.draw(IPerspective persp, Layer layer, IVector2 areaSize, ViewportJ2D vp)
          Draws the layer.
 void ColorLayerJ2DRenderer.draw(IPerspective persp, Layer layer, IVector2 areaSize, ViewportJ2D vp)
          Draws the layer.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.graphics.layer
 

Methods in jadex.application.space.envsupport.observer.graphics.layer that return IVector2
 IVector2 GridLayer.getGridSize()
           
 IVector2 TiledLayer.getInvTileSize()
           
 IVector2 TiledLayer.getTileSize()
           
 

Constructors in jadex.application.space.envsupport.observer.graphics.layer with parameters of type IVector2
GridLayer(IVector2 gridSize, Object c)
          Creates a new gridlayer.
TiledLayer(IVector2 tileSize, Object color, String texturePath)
          Creates a new TiledLayer.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.gui
 

Methods in jadex.application.space.envsupport.observer.gui that return IVector2
 IVector2 ObserverCenter.getAreaSize()
          Returns the area size.
 

Uses of IVector2 in jadex.application.space.envsupport.observer.gui.plugin
 

Methods in jadex.application.space.envsupport.observer.gui.plugin that return IVector2
 IVector2 AbstractInteractionPlugin.getWorldCoordinates(Point p)
           
 

Uses of IVector2 in jadex.application.space.envsupport.observer.perspective
 

Fields in jadex.application.space.envsupport.observer.perspective declared as IVector2
protected  IVector2 Perspective2D.objectShift
          The object shift
 

Methods in jadex.application.space.envsupport.observer.perspective that return IVector2
 IVector2 Perspective2D.getObjectShift()
          Gets the object shift.
 

Methods in jadex.application.space.envsupport.observer.perspective with parameters of type IVector2
 void Perspective2D.setObjectShift(IVector2 shift)
          Sets the object shift.
 void Perspective2D.shiftPosition(IVector2 shift)
          Shifts the viewport position.
 



Copyright © 2010. All Rights Reserved.