Commit a721ca21 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Merge branch 'master' into 'nr/monitoring-req-resp'

# Conflicts:
#   src/de/tud/kom/p2psim/impl/topology/movement/modularosm/GPSCalculation.java
parents 7823fb16 d7c80570
......@@ -95,6 +95,16 @@ public class GPSCalculation {
{
return metersPerPixel;
}
public static double getWorldDimensionsX() {
return Binder.getComponentOrNull(Topology.class)
.getWorldDimensions().getX();
}
public static double getWorldDimensionsY() {
return Binder.getComponentOrNull(Topology.class)
.getWorldDimensions().getY();
}
public static double getLatUpper() {
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