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-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 RADIUS
      the radius of the ball.
      See Also:
    • theta

      protected double theta
      the angle of the ball.
  • Constructor Details

    • Ball

      public Ball(int nr)
      constructs a new Ball.
      Parameters:
      nr - int; the ball number
  • Method Details