Commit f03696e5 authored by Julian Zobel's avatar Julian Zobel
Browse files

World Dimensions as PosVec in GPSCalc

parent 857e9bf0
...@@ -106,6 +106,10 @@ public class GPSCalculation { ...@@ -106,6 +106,10 @@ public class GPSCalculation {
return Binder.getComponentOrNull(Topology.class) return Binder.getComponentOrNull(Topology.class)
.getWorldDimensions().getY(); .getWorldDimensions().getY();
} }
public static PositionVector getWorldDimensions() {
return new PositionVector(getWorldDimensionsX(), getWorldDimensionsY());
}
public static double getLatUpper() { public static double getLatUpper() {
return latCenter + ((Binder.getComponentOrNull(Topology.class) return latCenter + ((Binder.getComponentOrNull(Topology.class)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment