Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
The container registry cleanup task is now completed and the registry can be used normally.
Open sidebar
vadere
vadere
Commits
4f518de1
Commit
4f518de1
authored
Jun 15, 2018
by
Stefan Schuhbaeck
Browse files
add new constructor to VRectangle
parent
242a9e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
VadereUtils/src/org/vadere/util/geometry/shapes/VRectangle.java
View file @
4f518de1
...
...
@@ -24,6 +24,10 @@ public class VRectangle extends Rectangle2D.Double implements VShape {
}
}
public
VRectangle
(
final
Rectangle2D
rectangle
)
{
this
(
rectangle
.
getX
(),
rectangle
.
getY
(),
rectangle
.
getWidth
(),
rectangle
.
getHeight
());
}
public
VRectangle
(
final
Rectangle2D
.
Double
rectangle
)
{
this
(
rectangle
.
x
,
rectangle
.
y
,
rectangle
.
width
,
rectangle
.
height
);
}
...
...
Write
Preview
Supports
Markdown
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