create changelog entry
[debian/openrocket] / core / src / net / sf / openrocket / models / gravity / GravityModel.java
1 package net.sf.openrocket.models.gravity;
2
3 import net.sf.openrocket.util.Monitorable;
4 import net.sf.openrocket.util.WorldCoordinate;
5
6 /**
7  * An interface for modeling gravitational acceleration.
8  * 
9  * @author Sampo Niskanen <sampo.niskanen@iki.fi>
10  */
11 public interface GravityModel extends Monitorable {
12         
13         /**
14          * Compute the gravitational acceleration at a given world coordinate
15          * 
16          * @param wc    the world coordinate location
17          * @return              gravitational acceleration in m/s/s
18          */
19         public double getGravity(WorldCoordinate wc);
20         
21 }