nl.tudelft.simulation.dsol.animation
Interface LocatableInterface

All Known Implementing Classes:
Editable, GisRenderable2D, StaticLocation

public interface LocatableInterface

The locatable interface

(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
2.0 21.09.2003
Author:
Peter Jacobs

Method Summary
 javax.media.j3d.Bounds getBounds()
          returns the bounds of the locatable object.
 nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
          returns the location of an object
 

Method Detail

getLocation

public nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
                                                            throws java.rmi.RemoteException
returns the location of an object

Returns:
DirectedPoint the location
Throws:
java.rmi.RemoteException - on network failure

getBounds

public javax.media.j3d.Bounds getBounds()
                                 throws java.rmi.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:
java.rmi.RemoteException - on network failure


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