nl.tudelft.simulation.examples.dsol.animation3d
Class Ball

java.lang.Object
  extended by nl.tudelft.simulation.examples.dsol.animation3d.Ball
All Implemented Interfaces:
LocatableInterface
Direct Known Subclasses:
Ball3D

public abstract class Ball
extends Object
implements LocatableInterface

A Ball
(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:
1.0 Mar 3, 2004
Author:
Peter Jacobs

Field Summary
static double RADIUS
          the radius of the ball
protected  double theta
          the angle of the ball
 
Constructor Summary
Ball()
          constructs a new Ball
 
Method Summary
 Bounds getBounds()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface
getLocation
 

Field Detail

RADIUS

public static final double RADIUS
the radius of the ball

See Also:
Constant Field Values

theta

protected double theta
the angle of the ball

Constructor Detail

Ball

public Ball()
constructs a new Ball

Method Detail

getBounds

public Bounds getBounds()
                 throws RemoteException
Specified by:
getBounds in interface LocatableInterface
Throws:
RemoteException
See Also:
LocatableInterface.getBounds()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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