added getTurnLoss() and getWindSide() to PolarDiagram; to be implemented

This commit is contained in:
Alexandru Dimofte committed 2012-06-14 15:33:44 +03:00
1 parent fe3e9167b9
commit b5b8683d13
2 files changed
+18

No files matched your search

@@ -5,6 +5,8 @@ import com.sap.sailing.domain.common.Bearing;
public interface PolarDiagram {
enum WindSide {RIGHT, LEFT, FACING, OPPOSING};
SpeedWithBearing getWind();
void setWind(SpeedWithBearing newWind);
@@ -14,4 +16,8 @@ public interface PolarDiagram {
Bearing[] optimalDirectionsUpwind();
Bearing[] optimalDirectionsDownwind();
long getTurnLoss();
WindSide getWindSide();
}
@@ -353,4 +353,16 @@ public class PolarDiagram49 implements PolarDiagram {
// return new PolarDiagram49(table, beatAngles, gybeAngles, beatSOG, gybeSOG);
}
@Override
public long getTurnLoss() {
// TODO Auto-generated method stub
return 0;
}
@Override
public WindSide getWindSide() {
// TODO Auto-generated method stub
return null;
}
}