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
6c429d62
Commit
6c429d62
authored
Aug 04, 2017
by
Björn Richerzhagen
Browse files
Fixed Attraction Point range visualization
parent
599e6ec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/modularosm/ModularMovementModelViz.java
View file @
6c429d62
...
...
@@ -166,7 +166,7 @@ public class ModularMovementModelViz extends JComponent
VisualizationInjector
.
scaleValue
(
point
.
y
)
-
ATTR_PAD
,
ATTR_PAD
*
2
+
1
,
ATTR_PAD
*
2
+
1
);
g2
.
setColor
(
COLOR_ATTR_POINT
);
int
radius
=
(
int
)
aPoint
.
getRadius
()
+
ATTR_PAD
;
int
radius
=
VisualizationInjector
.
scaleValue
(
aPoint
.
getRadius
()
)
+
ATTR_PAD
;
g2
.
drawOval
(
VisualizationInjector
.
scaleValue
(
point
.
x
)
-
radius
,
VisualizationInjector
.
scaleValue
(
point
.
y
)
-
radius
,
radius
*
2
+
1
,
radius
*
2
+
1
);
...
...
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