package net.sf.openrocket.models.gravity;
-import net.sf.openrocket.util.Monitorable;
+//import net.sf.openrocket.util.Monitorable;
+import net.sf.openrocket.util.WorldCoordinate;
/**
* An interface to modelling gravitational acceleration.
*
* @author Sampo Niskanen <sampo.niskanen@iki.fi>
*/
-public interface GravityModel extends Monitorable {
+public interface GravityModel { //extends Monitorable {
/**
- * Compute the gravity at a specific altitude.
+ * Compute the gravity at a specific altitude above equator.
*
* @param altitude the altitude at which to compute the gravity
* @return the gravitational acceleration
*/
- public double getGravity(double altitude);
+ //public double getGravity(double altitude);
+
+
+ /**
+ * Compute the gravity at a given world coordinate
+ * @param wc
+ * @return gravitational acceleration in m/s/s
+ */
+ public double getGravity(WorldCoordinate wc);
}