nl.tudelft.simulation.dsol.tutorial.section44
Class Ball

java.lang.Object
  extended bynl.tudelft.simulation.dsol.tutorial.section44.Ball
All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.LocatableInterface
Direct Known Subclasses:
ContinuousBall, DiscreteBall

public abstract class Ball
extends java.lang.Object
implements nl.tudelft.simulation.dsol.animation.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
protected  nl.tudelft.simulation.language.d3.DirectedPoint destination
          the destination
protected  nl.tudelft.simulation.language.d3.DirectedPoint origin
          the origin
static double RADIUS
          the radius of the ball
protected  double rotZ
          the rotation
 
Constructor Summary
Ball()
          constructs a new Ball
 
Method Summary
 javax.media.j3d.Bounds getBounds()
           
 java.lang.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

origin

protected nl.tudelft.simulation.language.d3.DirectedPoint origin
the origin


destination

protected nl.tudelft.simulation.language.d3.DirectedPoint destination
the destination


rotZ

protected double rotZ
the rotation

Constructor Detail

Ball

public Ball()
constructs a new Ball

Method Detail

getBounds

public javax.media.j3d.Bounds getBounds()
                                 throws java.rmi.RemoteException
Specified by:
getBounds in interface nl.tudelft.simulation.dsol.animation.LocatableInterface
Throws:
java.rmi.RemoteException
See Also:
LocatableInterface.getBounds()

toString

public java.lang.String toString()
See Also:
Object.toString()


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