geodetic computations
[debian/openrocket] / src / net / sf / openrocket / models / gravity / GravityModel.java
index bf38d520923ed0d0478bbf4959e7af3ae58f0d5e..7feba89246ac3a78d4b75620ebb171a5806ff9ad 100644 (file)
@@ -1,20 +1,29 @@
 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);
        
 }