nl.tudelft.simulation.dsol.animation
Interface LocatableInterface

All Known Implementing Classes:
Editable, GisRenderable2D, StaticLocation

public interface LocatableInterface

The locatable interface enforces knownledge on position.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:21:29 $
Author:
Peter Jacobs

Method Summary
 Bounds getBounds()
          returns the bounds of the locatable object.
 DirectedPoint getLocation()
          returns the location of an object
 

Method Detail

getLocation

DirectedPoint getLocation()
                          throws RemoteException
returns the location of an object

Returns:
DirectedPoint the location
Throws:
RemoteException - on network failure

getBounds

Bounds getBounds()
                 throws RemoteException
returns the bounds of the locatable object. The bounds is the not rotated bounds around [0;0;0]

Returns:
BoundingBox include this.getLocation() as center of the box..
Throws:
RemoteException - on network failure


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.