Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
f03696e5
Commit
f03696e5
authored
Jan 28, 2021
by
Julian Zobel
Browse files
World Dimensions as PosVec in GPSCalc
parent
857e9bf0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/modularosm/GPSCalculation.java
View file @
f03696e5
...
...
@@ -107,6 +107,10 @@ public class GPSCalculation {
.
getWorldDimensions
().
getY
();
}
public
static
PositionVector
getWorldDimensions
()
{
return
new
PositionVector
(
getWorldDimensionsX
(),
getWorldDimensionsY
());
}
public
static
double
getLatUpper
()
{
return
latCenter
+
((
Binder
.
getComponentOrNull
(
Topology
.
class
)
.
getWorldDimensions
().
getY
()/
2
)
/
111111
d
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment