Class Ball
- java.lang.Object
-
- nl.tudelft.simulation.examples.dsol.animation.Ball
-
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
Ball,DiscreteBall
public abstract class Ball extends Object implements Locatable
A Ball.Copyright (c) 2003-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Peter Jacobs
-
-
Constructor Summary
Constructors Constructor Description Ball(int nr)constructs a new Ball.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bounds3dgetBounds()StringtoString()-
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.Locatable
getDirZ, getLocation, getZ
-
-
-
-
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.
-
-
Method Detail
-
getBounds
public Bounds3d getBounds() throws RemoteException
- Specified by:
getBoundsin interfaceLocatable- Throws:
RemoteException
-
-