A B C D E F G H I L M N O P R S T U V Z

A

add(double, double) - Method in class fi.utu.cs.physics.Tuple2
Adds values to the elements.
add(double, double) - Method in class fi.utu.cs.physics.Vector2
Adds values to the components.
add(double, double) - Method in class fi.utu.cs.physics.Point2
Adds values to the coordinates.
add(Point2) - Method in class fi.utu.cs.physics.Point2
Adds the coordinates of other to the coordinates.
add(Tuple2) - Method in class fi.utu.cs.physics.Tuple2
Adds the values of other to the elements.
add(Vector2) - Method in class fi.utu.cs.physics.Vector2
Adds the components of other to the components.
addBody(Body) - Method in class fi.utu.cs.physics.Universe
Adds the body b to the universe, which is also set to be the owner of the body.
advance(double) - Method in class fi.utu.cs.physics.Body
Advances the time dt seconds and updates the position and velocity of the body accordingly.
advance(double) - Method in class fi.utu.cs.physics.Universe
Advances the time dt seconds and updates its bodies accordingly.
advance(double) - Method in class fi.utu.cs.physics.MomentaryBody
Advances the time dt seconds and updates the position, velocity and lifetime of the body accordingly.
advance(double) - Method in class fi.utu.cs.asteroids.Ship
Advances the time dt seconds and updates the position, velocity, and rotation of the ship accordingly.
Asteroid - class fi.utu.cs.asteroids.Asteroid.
An asteroid.
Asteroid(double, Point2, double) - Constructor for class fi.utu.cs.asteroids.Asteroid
Creates an asteroid with the mass m at the position p heading at the direction of the angle t.

B

bodies() - Method in class fi.utu.cs.physics.Universe
Returns an unmodifiable (i.e., "read-only") list of the bodies in the universe.
Body - class fi.utu.cs.physics.Body.
A moving physical body with mass and dimensionality.
Body(double, double) - Constructor for class fi.utu.cs.physics.Body
Constructs a body with the mass m and the radius r.
Body(double, double, Point2) - Constructor for class fi.utu.cs.physics.Body
Constructs a body with the mass m, the radius r and the position p.
Body(double, double, Point2, Vector2) - Constructor for class fi.utu.cs.physics.Body
Constructs a body with the mass m, the radius r, the position p and the velocity v.
Body(double, double, Point2, Vector2, Vector2) - Constructor for class fi.utu.cs.physics.Body
Constructs a body with the mass m, the radius r, the position p, the velocity v and the acceleration a.
BOTH - Static variable in class fi.utu.cs.physics.Universe.CollisionNotification
Both of the counterparts.

C

clone() - Method in class fi.utu.cs.physics.Tuple2
Creates and returns a copy of this tuple.
color() - Method in interface fi.utu.cs.appearance.Shapable
Returns a Color object that is used for drawing the outline.
color() - Method in class fi.utu.cs.asteroids.Decoration
 
color() - Method in class fi.utu.cs.asteroids.Spark
 
color() - Method in class fi.utu.cs.asteroids.Asteroid
 
color() - Method in class fi.utu.cs.asteroids.Debris
 
color() - Method in class fi.utu.cs.asteroids.Projectile
 
color() - Method in class fi.utu.cs.asteroids.Ship
 
compareTo(Object) - Method in class fi.utu.cs.physics.Vector2
Returns a negative integer, zero, or a positive integer as the length of this vector is less than, equal to, or greater than the length of vector o.
counterpart(Class) - Method in class fi.utu.cs.physics.Universe.CollisionNotification
Returns which of the counterparts is of the type t.
createAsteroidOnBorder(Universe) - Static method in class fi.utu.cs.asteroids.Game
Creates and inserts an Asteroid object to the the universe u.
createPlayground() - Static method in class fi.utu.cs.asteroids.Game
Creates and returns a toroid universe.
createPlayground(double, double) - Static method in class fi.utu.cs.asteroids.Game
Creates and returns a toroid universe with the width w and height h.
createShipOnCenter(Universe) - Static method in class fi.utu.cs.asteroids.Game
Creates and inserts a Ship object to the center of the universe u.
createShipOnRandomPosition(Universe) - Static method in class fi.utu.cs.asteroids.Game
Creates and inserts a Ship object to a random position in the universe u.
createView(Universe, double) - Static method in class fi.utu.cs.asteroids.Game
Creates and returns a ShapeView Swing component.
createView(Universe, double, double) - Static method in class fi.utu.cs.asteroids.Game
Creates and returns a ShapeView Swing component.

D

Debris - class fi.utu.cs.asteroids.Debris.
A piece of debris.
Debris(Point2, Vector2) - Constructor for class fi.utu.cs.asteroids.Debris
Creates a piece of debris at position p with the velocity v.
Decoration - class fi.utu.cs.asteroids.Decoration.
An ethereal body which has a zero mass and finite lifetime.
Decoration(double, double) - Constructor for class fi.utu.cs.asteroids.Decoration
Constructs a decoration with the radius r and the lifetime lt.
Decoration(double, double, Point2) - Constructor for class fi.utu.cs.asteroids.Decoration
Constructs a decoration with the radius r, the lifetime lt and the position p.
Decoration(double, double, Point2, Vector2) - Constructor for class fi.utu.cs.asteroids.Decoration
Constructs a decoration with the radius r, the lifetime lt, the position p and the velocity v.
Decoration(double, double, Point2, Vector2, Vector2) - Constructor for class fi.utu.cs.asteroids.Decoration
Constructs a decoration with the radius r, the lifetime lt, the position p, the velocity v and the acceleration a.
die() - Method in class fi.utu.cs.physics.MomentaryBody
Realizes the death of this body.
die() - Method in class fi.utu.cs.asteroids.Decoration
Removes the body from the universe that owns it.
die() - Method in class fi.utu.cs.asteroids.Projectile
Removes this projectile from the universe.

E

elasticCollision(Body) - Method in class fi.utu.cs.physics.Body
Realizes an elastic collision for both the body and the body other.
equals(Object) - Method in class fi.utu.cs.physics.Tuple2
Returns true if o is of the type Tuple2 and the elements of o are equal to the corresponding elements in this tuple.
explode() - Method in class fi.utu.cs.asteroids.Ship
Explodes the ship and removes it from the universe.

F

fi.utu.cs.appearance - package fi.utu.cs.appearance
 
fi.utu.cs.asteroids - package fi.utu.cs.asteroids
 
fi.utu.cs.physics - package fi.utu.cs.physics
 
FINITE - Static variable in class fi.utu.cs.physics.Universe
A finite universe which limits the position of the bodies.
fireOff() - Method in class fi.utu.cs.asteroids.Ship
Sets the firing off.
fireOn() - Method in class fi.utu.cs.asteroids.Ship
Sets the firing on.
FIRST - Static variable in class fi.utu.cs.physics.Universe.CollisionNotification
The first counterpart.

G

Game - class fi.utu.cs.asteroids.Game.
Parameter handling and auxiliary methods for the game.
getAcceleration() - Method in class fi.utu.cs.physics.Body
Returns the acceleration of the body.
getAngle() - Method in class fi.utu.cs.asteroids.Ship
Returns the current angle (in radians).
getBooleanParameter(String) - Static method in class fi.utu.cs.asteroids.Game
Returns the Boolean value of the parameter n.
getCenter() - Method in class fi.utu.cs.physics.Universe
Returns the center of the universe or null if the universe is infinite.
getCounterpart(int) - Method in class fi.utu.cs.physics.Universe.CollisionNotification
Returns the ith counterpart of the collision.
getDeltaX() - Method in class fi.utu.cs.physics.Vector2
Returns the horizontal component.
getDeltaY() - Method in class fi.utu.cs.physics.Vector2
Returns the vertical component.
getDoubleParameter(String) - Static method in class fi.utu.cs.asteroids.Game
Returns the double-precision floating point value of the parameter n.
getFirstElement() - Method in class fi.utu.cs.physics.Tuple2
Returns the first element.
getIntegerParameter(String) - Static method in class fi.utu.cs.asteroids.Game
Returns the integer value of the parameter n.
getLauncher() - Method in class fi.utu.cs.asteroids.Projectile
Returns the ship that launched this projectile.
getLifetime() - Method in class fi.utu.cs.physics.MomentaryBody
Returns the remaining lifetime of this body.
getMass() - Method in class fi.utu.cs.physics.Body
Returns the mass of the body.
getMaximumCorner() - Method in class fi.utu.cs.physics.Universe
Returns the maximum corner of the universe or null if the universe is infinite.
getMinimumCorner() - Method in class fi.utu.cs.physics.Universe
Returns the minimum corner of the universe or null if the universe is infinite.
getOwner() - Method in class fi.utu.cs.physics.Body
Returns the owner of the body or null if the body has no owner.
getPosition() - Method in class fi.utu.cs.physics.Body
Returns the position of the body.
getRadius() - Method in class fi.utu.cs.physics.Body
Returns the radius of the bounding circle.
getSecondElement() - Method in class fi.utu.cs.physics.Tuple2
Returns the second element.
getStringParameter(String) - Static method in class fi.utu.cs.asteroids.Game
Returns the String object of the parameter n.
getType() - Method in class fi.utu.cs.physics.Universe
Returns the type of the universe.
getVelocity() - Method in class fi.utu.cs.physics.Body
Returns the velocity of the body.
getX() - Method in class fi.utu.cs.physics.Point2
Returns the x coordinate.
getY() - Method in class fi.utu.cs.physics.Point2
Returns the y coordinate.
getZoomFactor() - Method in class fi.utu.cs.appearance.ShapeView
Returns the zoom factor associated with this view.
goStraight() - Method in class fi.utu.cs.asteroids.Ship
Sets the steering to straight forward.

H

hashCode() - Method in class fi.utu.cs.physics.Tuple2
Returns a hash code value based on the elements of this tuple.
HORIZONTAL - Static variable in class fi.utu.cs.physics.Point2
A comparator for the x coordinates of Point2 objects.

I

INFINITE - Static variable in class fi.utu.cs.physics.Universe
An infinite universe which does not impose any limits to the position of the bodies.
initialize() - Static method in class fi.utu.cs.asteroids.Game
Sets the built-in default values to the parameters.
isColliding(Body) - Method in class fi.utu.cs.physics.Body
Returns whether the body collides with the body other.
isColliding(Body) - Method in class fi.utu.cs.asteroids.Asteroid
Returns whether the asteroid collides with the body other.
isColliding(Body) - Method in class fi.utu.cs.asteroids.Projectile
Returns whether the projectile collides with the body other.
isColliding(Body) - Method in class fi.utu.cs.asteroids.Ship
Returns whether the ship collides with the body other.
isCorporeal() - Method in class fi.utu.cs.physics.Body
Returns true if the body is corporeal or false if the body is ethereal.
isDrawn() - Method in interface fi.utu.cs.appearance.Shapable
Returns a boolean value indicating whether the outline of the shape is drawn or not.
isDrawn() - Method in class fi.utu.cs.asteroids.Decoration
 
isDrawn() - Method in class fi.utu.cs.asteroids.Spark
 
isDrawn() - Method in class fi.utu.cs.asteroids.Asteroid
 
isDrawn() - Method in class fi.utu.cs.asteroids.Debris
 
isDrawn() - Method in class fi.utu.cs.asteroids.Projectile
 
isDrawn() - Method in class fi.utu.cs.asteroids.Ship
 
isFilled() - Method in interface fi.utu.cs.appearance.Shapable
Returns a boolean value indicating whether the shape is filled or not.
isFilled() - Method in class fi.utu.cs.asteroids.Decoration
 
isFilled() - Method in class fi.utu.cs.asteroids.Spark
 
isFilled() - Method in class fi.utu.cs.asteroids.Asteroid
 
isFilled() - Method in class fi.utu.cs.asteroids.Debris
 
isFilled() - Method in class fi.utu.cs.asteroids.Projectile
 
isFilled() - Method in class fi.utu.cs.asteroids.Ship
 
isFiring() - Method in class fi.utu.cs.asteroids.Ship
Returns whether the ship is firing during the current update interval.
isNormalCoordinateSystem() - Method in class fi.utu.cs.appearance.ShapeView
Returns true if the view uses the normal coordinate system.
isOverlapping(Body) - Method in class fi.utu.cs.physics.Body
Checks whether the body overlaps the body other.
isScreenCoordinateSystem() - Method in class fi.utu.cs.appearance.ShapeView
Returns true if the view uses the screen coordinate system.
isThrusting() - Method in class fi.utu.cs.asteroids.Ship
Returns whether the thruster is on.

L

length() - Method in class fi.utu.cs.physics.Vector2
Returns the length of this vector.
lengthSquared() - Method in class fi.utu.cs.physics.Vector2
Returns the squared length of this vector.
load(InputStream) - Static method in class fi.utu.cs.asteroids.Game
Reads a parameter list (type, name and value triplets) from the input stream is.

M

max() - Method in class fi.utu.cs.physics.Tuple2
Returns the maximum of the elements.
min() - Method in class fi.utu.cs.physics.Tuple2
Returns the minimum of the elements.
MomentaryBody - class fi.utu.cs.physics.MomentaryBody.
A moving physical body with mass, dimensionality and a finite lifetime.
MomentaryBody(double, double, double) - Constructor for class fi.utu.cs.physics.MomentaryBody
Constructs a body with the mass m, the radius r and the lifetime lt.
MomentaryBody(double, double, double, Point2) - Constructor for class fi.utu.cs.physics.MomentaryBody
Constructs a body with the mass m, the radius r, the lifetime lt and the position p.
MomentaryBody(double, double, double, Point2, Vector2) - Constructor for class fi.utu.cs.physics.MomentaryBody
Constructs a body with the mass m, the radius r, the lifetime lt, the position p and the velocity v.
MomentaryBody(double, double, double, Point2, Vector2, Vector2) - Constructor for class fi.utu.cs.physics.MomentaryBody
Constructs a body with the mass m, the radius r, the lifetime lt, the position p, the velocity v and the acceleration a.

N

negate() - Method in class fi.utu.cs.physics.Tuple2
Negates the elements.
negateFirstElement() - Method in class fi.utu.cs.physics.Tuple2
Negates the first element.
negateSecondElement() - Method in class fi.utu.cs.physics.Tuple2
Negates the second element.
NONE - Static variable in class fi.utu.cs.physics.Universe.CollisionNotification
None of the counterparts.

O

ORIGIN - Static variable in class fi.utu.cs.physics.Point2
The origin residing in the coordinates (0.0, 0.0).

P

paint() - Method in interface fi.utu.cs.appearance.Shapable
Returns a Paint object that is used for filling the shape.
paint() - Method in class fi.utu.cs.asteroids.Decoration
 
paint() - Method in class fi.utu.cs.asteroids.Spark
 
paint() - Method in class fi.utu.cs.asteroids.Asteroid
 
paint() - Method in class fi.utu.cs.asteroids.Debris
 
paint() - Method in class fi.utu.cs.asteroids.Projectile
 
paint() - Method in class fi.utu.cs.asteroids.Ship
 
paintComponent(Graphics) - Method in class fi.utu.cs.appearance.ShapeView
Draws the view when invoked by Swing.
parameterNames() - Static method in class fi.utu.cs.asteroids.Game
Returns an iterator to the names of all the parameters.
Point2 - class fi.utu.cs.physics.Point2.
A two-element point of double-precision floating point x, y coordinates.
Point2(double, double) - Constructor for class fi.utu.cs.physics.Point2
Creates a new two-element point with the given coordinates.
Projectile - class fi.utu.cs.asteroids.Projectile.
A projectile.
Projectile(Point2, double, Ship) - Constructor for class fi.utu.cs.asteroids.Projectile
Creates a projectile at the position p heading at the direction of the angle t and launched by the ship s.

R

removeAll() - Method in class fi.utu.cs.physics.Universe
Removes all bodies from the universe and sets their owner to null.
removeBody(Body) - Method in class fi.utu.cs.physics.Universe
Removes the body b from the universe and sets its owner to null.
rotate(double) - Method in class fi.utu.cs.physics.Vector2
Rotates the vector counterclockwise.
rotate180() - Method in class fi.utu.cs.physics.Vector2
Rotates the vector 180 degrees counterclockwise.
rotate270() - Method in class fi.utu.cs.physics.Vector2
Rotates the vector 270 degrees counterclockwise.
rotate90() - Method in class fi.utu.cs.physics.Vector2
Rotates the vector 90 degrees counterclockwise.
rotateLeft() - Method in class fi.utu.cs.asteroids.Ship
Sets the steering to the left (i.e., counterclockwise).
rotateRight() - Method in class fi.utu.cs.asteroids.Ship
Sets the steering to the right (i.e., clockwise).

S

save(OutputStream) - Static method in class fi.utu.cs.asteroids.Game
Writes the parameter list (type, key and element triplets) to the output stream os.
SECOND - Static variable in class fi.utu.cs.physics.Universe.CollisionNotification
The second counterpart.
set(double, double) - Method in class fi.utu.cs.physics.Tuple2
Sets the elements.
set(double, double) - Method in class fi.utu.cs.physics.Vector2
Sets the horizontal and vertical component.
set(double, double) - Method in class fi.utu.cs.physics.Point2
Sets the coordinates.
set(Point2) - Method in class fi.utu.cs.physics.Point2
Sets the coordinates to the same values as in other.
set(Point2, Point2) - Method in class fi.utu.cs.physics.Vector2
Sets the horizontal and vertical components to correspond the transfer from the point source to the point target.
set(Tuple2) - Method in class fi.utu.cs.physics.Tuple2
Sets the elements to the same values as in other.
set(Vector2) - Method in class fi.utu.cs.physics.Vector2
Sets the horizontal and vertical components to the same values as in other.
setAcceleration(double, double) - Method in class fi.utu.cs.physics.Body
Sets the acceleration of the body.
setAcceleration(Vector2) - Method in class fi.utu.cs.physics.Body
Sets the acceleration of the body to a.
setAngle(double) - Method in class fi.utu.cs.asteroids.Ship
Sets the current angle to t (in radians).
setColor(Color) - Method in class fi.utu.cs.asteroids.Ship
Sets the color of the ship to c.
setCorporeal() - Method in class fi.utu.cs.physics.Body
Sets the body to be corporeal.
setDeltaX(double) - Method in class fi.utu.cs.physics.Vector2
Sets the horizontal component to the value dx.
setDeltaY(double) - Method in class fi.utu.cs.physics.Vector2
Sets the vertical component to the value dy.
setEthereal() - Method in class fi.utu.cs.physics.Body
Sets the body to be ethereal.
setFirstElement(double) - Method in class fi.utu.cs.physics.Tuple2
Sets the first element to the value v.
setLifetime(double) - Method in class fi.utu.cs.physics.MomentaryBody
Sets the lifetime to lt seconds.
setMass(double) - Method in class fi.utu.cs.physics.Body
Sets the mass of the body to m.
setNormalCoordinateSystem() - Method in class fi.utu.cs.appearance.ShapeView
Sets the normal coordinate system to this view.
setOwner(Universe) - Method in class fi.utu.cs.physics.Body
Sets the universe that owns the body to u.
setParameter(String, boolean) - Static method in class fi.utu.cs.asteroids.Game
Sets the parameter n to the Boolean value v.
setParameter(String, double) - Static method in class fi.utu.cs.asteroids.Game
Sets the parameter n to the double-precision floating point value v.
setParameter(String, int) - Static method in class fi.utu.cs.asteroids.Game
Sets the parameter n to the integer value v.
setParameter(String, String) - Static method in class fi.utu.cs.asteroids.Game
Sets the parameter n to the String object s.
setPosition(double, double) - Method in class fi.utu.cs.physics.Body
Sets the position of the body.
setPosition(Point2) - Method in class fi.utu.cs.physics.Body
Sets the position of the body to p.
setRadius(double) - Method in class fi.utu.cs.physics.Body
Sets the radius of the bounding circle to r.
setScreenCoordinateSystem() - Method in class fi.utu.cs.appearance.ShapeView
Sets the screen coordinate system to this view.
setSecondElement(double) - Method in class fi.utu.cs.physics.Tuple2
Sets the second element to the value v.
setShapes(List) - Method in class fi.utu.cs.appearance.ShapeView
Sets the shapable list to s.
setVelocity(double, double) - Method in class fi.utu.cs.physics.Body
Sets the velocity of the body.
setVelocity(Vector2) - Method in class fi.utu.cs.physics.Body
Sets the velocity of the body to v.
setVisibleRegion(Rectangle2D) - Method in class fi.utu.cs.appearance.ShapeView
Sets the visible region to the rectangle r.
setX(double) - Method in class fi.utu.cs.physics.Point2
Sets the x coordinate to x.
setY(double) - Method in class fi.utu.cs.physics.Point2
Sets the y coordinate to y.
setZoomFactor(double) - Method in class fi.utu.cs.appearance.ShapeView
Sets the zoom factor to z.
Shapable - interface fi.utu.cs.appearance.Shapable.
Provides definitions for objects that can be displayed in the Graphics2D context.
shape() - Method in interface fi.utu.cs.appearance.Shapable
Returns a Shape object that defines the appearance of the object.
shape() - Method in class fi.utu.cs.asteroids.Decoration
 
shape() - Method in class fi.utu.cs.asteroids.Spark
 
shape() - Method in class fi.utu.cs.asteroids.Asteroid
 
shape() - Method in class fi.utu.cs.asteroids.Debris
 
shape() - Method in class fi.utu.cs.asteroids.Projectile
 
shape() - Method in class fi.utu.cs.asteroids.Ship
 
ShapeView - class fi.utu.cs.appearance.ShapeView.
A Swing component that displays a list of Shapable objects.
ShapeView() - Constructor for class fi.utu.cs.appearance.ShapeView
Creates a view.
ShapeView(List) - Constructor for class fi.utu.cs.appearance.ShapeView
Creates a view to the shapable list s.
ShapeView(List, double) - Constructor for class fi.utu.cs.appearance.ShapeView
Creates a view to the shapable list s with the zoom factor z.
ShapeView(List, double, boolean) - Constructor for class fi.utu.cs.appearance.ShapeView
Creates a view to the shapable list s with the zoom factor z using the screen coordinate system if c == true or the normal coordinate system if c == false.
Ship - class fi.utu.cs.asteroids.Ship.
A ship.
Ship(Point2) - Constructor for class fi.utu.cs.asteroids.Ship
Creates a ship at position p pointing at a random direction.
size() - Method in class fi.utu.cs.physics.Universe
Returns the number of bodies in the universe.
size(Class) - Method in class fi.utu.cs.physics.Universe
Returns the number of bodies of the type t in the universe.
Spark - class fi.utu.cs.asteroids.Spark.
A spark.
Spark(Point2, Vector2) - Constructor for class fi.utu.cs.asteroids.Spark
Creates a spark at position p with the velocity v.
split() - Method in class fi.utu.cs.asteroids.Asteroid
Splits the asteroid.
stroke() - Method in interface fi.utu.cs.appearance.Shapable
Returns a Stroke object that is used for drawing the outline.
stroke() - Method in class fi.utu.cs.asteroids.Decoration
 
stroke() - Method in class fi.utu.cs.asteroids.Spark
 
stroke() - Method in class fi.utu.cs.asteroids.Asteroid
 
stroke() - Method in class fi.utu.cs.asteroids.Debris
 
stroke() - Method in class fi.utu.cs.asteroids.Projectile
 
stroke() - Method in class fi.utu.cs.asteroids.Ship
 
swap() - Method in class fi.utu.cs.physics.Tuple2
Swaps the elements.

T

thrusterOff() - Method in class fi.utu.cs.asteroids.Ship
Sets the thruster off.
thrusterOn() - Method in class fi.utu.cs.asteroids.Ship
Sets the thruster on.
TOROID - Static variable in class fi.utu.cs.physics.Universe
An infinite universe of finite size where the opposite vertical and horizontal edges are connected to form a torus.
toString() - Method in class fi.utu.cs.physics.Body
Returns a string that contains the values of the attributes.
toString() - Method in class fi.utu.cs.physics.Tuple2
Returns a string that contains the values of the elements.
toString() - Method in class fi.utu.cs.asteroids.Spark
 
toString() - Method in class fi.utu.cs.asteroids.Asteroid
 
toString() - Method in class fi.utu.cs.asteroids.Debris
 
toString() - Method in class fi.utu.cs.asteroids.Projectile
 
toString() - Method in class fi.utu.cs.asteroids.Ship
 
transfer(Point2) - Method in class fi.utu.cs.physics.Vector2
Creates and returns a point that is transfered from the point source according to this vector.
transfer(Vector2) - Method in class fi.utu.cs.physics.Point2
Transfers the coordinates according to the vector v.
transpose(Point2) - Method in class fi.utu.cs.physics.Universe
Transposes the point p according to the type of the universe.
Tuple2 - class fi.utu.cs.physics.Tuple2.
A two-element tuple of double-precision floating point values.
Tuple2(double, double) - Constructor for class fi.utu.cs.physics.Tuple2
Creates a new two-element tuple with the given values.

U

Universe - class fi.utu.cs.physics.Universe.
A universe comprising a collection of Body objects.
Universe.CollisionNotification - class fi.utu.cs.physics.Universe.CollisionNotification.
Comprises two Body objects that have been counterparts in a collision.
Universe.CollisionNotification(Universe, Body, Body) - Constructor for class fi.utu.cs.physics.Universe.CollisionNotification
Creates a notification for the bodies b1 and b2
Universe() - Constructor for class fi.utu.cs.physics.Universe
Creates an infinite universe.
Universe(int, Point2, Point2) - Constructor for class fi.utu.cs.physics.Universe
Creates a universe.

V

Vector2 - class fi.utu.cs.physics.Vector2.
A two-component vector of double-precision floating point values.
Vector2(double, double) - Constructor for class fi.utu.cs.physics.Vector2
Creates a new two-component vector with the given values.
Vector2(Point2, Point2) - Constructor for class fi.utu.cs.physics.Vector2
Creates a new two-component vector from the given points.
vectorFrom(Point2) - Method in class fi.utu.cs.physics.Point2
Creates and returns a vector that corresponds the transfer from the point source to this point.
vectorTo(Point2) - Method in class fi.utu.cs.physics.Point2
Creates and returns a vector that corresponds the transfer from this point to the point target.
VERTICAL - Static variable in class fi.utu.cs.physics.Point2
A comparator for the y coordinates of Point2 objects.

Z

ZERO - Static variable in class fi.utu.cs.physics.Vector2
A vector with the length 0.0.

A B C D E F G H I L M N O P R S T U V Z