Class Ball
java.lang.Object
nl.tudelft.simulation.examples.dsol.animation.Ball
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
Ball
,DiscreteBall
A Ball.
Copyright (c) 2003-2024 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
-
Field Details
-
RADIUS
public static final double RADIUSthe radius of the ball.- See Also:
-
theta
protected double thetathe angle of the ball.
-
-
Constructor Details
-
Ball
public Ball(int nr) constructs a new Ball.- Parameters:
nr
- int; the ball number
-
-
Method Details
-
getBounds
- Specified by:
getBounds
in interfaceLocatable
- Throws:
RemoteException
-
toString
-