Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ronan
coraMaths
Commits
ec5e120e
Commit
ec5e120e
authored
Jun 06, 2016
by
ronan
Browse files
Add constructor sRectangle
parent
674703b5
Pipeline
#2264
passed with stage
in 53 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cora/cora-maths/1.0/cora-maths-1.0-javadoc.jar
View file @
ec5e120e
No preview for this file type
cora/cora-maths/1.0/cora-maths-1.0-sources.jar
View file @
ec5e120e
No preview for this file type
cora/cora-maths/1.0/cora-maths-1.0.jar
View file @
ec5e120e
No preview for this file type
src/main/java/org/cora/maths/sRectangle.java
View file @
ec5e120e
...
...
@@ -12,14 +12,14 @@ public class sRectangle extends Form
public
sRectangle
()
{
super
(
4
);
this
.
length
=
new
Vector2D
();
length
=
new
Vector2D
();
set
(
0
,
0
,
0
,
0
);
}
public
sRectangle
(
sRectangle
rec
)
{
super
(
rec
);
this
.
length
.
set
(
rec
.
getLength
());
length
=
new
Vector2D
(
rec
.
getLength
());
}
public
static
sRectangle
createSRectangleLeft
(
Vector2D
left
,
Vector2D
length
)
...
...
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