MATES 3.0-rc2

Uses of Class
org.mates.util.Position

Packages that use Position
org.mates.sim   
org.mates.sim.event.host   
org.mates.util   
 

Uses of Position in org.mates.sim
 

Methods in org.mates.sim that return Position
 Position Host.getPosition()
          Returns the current position of this host.
 

Methods in org.mates.sim with parameters of type Position
 boolean Host.setPosition(Position newPosition)
          Sets the position of this host.
 boolean Simulator.isValidPosition(Position position)
          Returns true if position is within the bounds of the domain.
 

Constructors in org.mates.sim with parameters of type Position
Host(java.lang.String name, Position position, MobilityModel mobilityModel, Simulator simulator)
          Primary constructor.
 

Uses of Position in org.mates.sim.event.host
 

Methods in org.mates.sim.event.host that return Position
 Position HostMovedEvent.getFromPosition()
          Returns the position from which this host moved.
 Position HostMovedEvent.getToPosition()
          Returns the position to which this host moved.
 

Constructors in org.mates.sim.event.host with parameters of type Position
HostMovedEvent(Host host, Position fromPosition, Position toPosition)
          Creates a new HostMovedEvent.
 

Uses of Position in org.mates.util
 

Subclasses of Position in org.mates.util
 class Position2D
          Class for storing a position in Euclidean space.
 

Methods in org.mates.util that return Position
 Position BoundingBox.closestValidPosition(Position position)
          Returns the closest Position2D to position that is within these bounds.
 Position Bounds.closestValidPosition(Position position)
          Returns the closest position to position that is within the bounds.
 

Methods in org.mates.util with parameters of type Position
 boolean BoundingBox.contains(Position position)
           
 Position BoundingBox.closestValidPosition(Position position)
          Returns the closest Position2D to position that is within these bounds.
 boolean Bounds.contains(Position position)
          Returns true if the region defined by the bounds contains position.
 Position Bounds.closestValidPosition(Position position)
          Returns the closest position to position that is within the bounds.
abstract  double Position.distanceTo(Position position)
          Returns the distance from this position to position.
 double Position2D.distanceTo(Position position)
          Returns the distance from this position to position (i.e.
 


MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik