mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-29 23:37:10 +00:00
added getTurnLoss() and getWindSide() to PolarDiagram; to be implemented
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user