1 package net.sf.openrocket.models.gravity;
3 //import net.sf.openrocket.util.Monitorable;
4 import net.sf.openrocket.util.WorldCoordinate;
7 * An interface to modelling gravitational acceleration.
9 * @author Sampo Niskanen <sampo.niskanen@iki.fi>
11 public interface GravityModel { //extends Monitorable {
14 * Compute the gravity at a specific altitude above equator.
16 * @param altitude the altitude at which to compute the gravity
17 * @return the gravitational acceleration
19 //public double getGravity(double altitude);
23 * Compute the gravity at a given world coordinate
25 * @return gravitational acceleration in m/s/s
27 public double getGravity(WorldCoordinate wc);