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
Peter Lundin
iso_spline_2
Commits
70494587
Commit
70494587
authored
Oct 14, 2017
by
a001188
Browse files
Initial commit
parent
520d8478
Changes
1
Hide whitespace changes
Inline
Side-by-side
isospline/IsoSpline.java
View file @
70494587
...
...
@@ -38,16 +38,16 @@ public class IsoSpline {
if
(
iscs
.
getIsoSplineContainer
(
r
,
c
).
canCreateIsoSplineElement
(
isoLevel
))
iscs
.
getIsoSplineContainer
(
r
,
c
).
createSplineElement
(
isoLevel
);
}
if
(
closeAroundTheBorder
){
for
(
int
r
=
0
;
r
<
matrix
.
getRows
()-
1
;
r
++){
iscs
.
getIsoSplineContainer
(
r
,
0
).
createBorderSplineElement
(
isoLevel
);
iscs
.
getIsoSplineContainer
(
r
,
matrix
.
getCols
()-
1
).
createBorderSplineElement
(
isoLevel
);
}
for
(
int
c
=
0
;
c
<
matrix
.
getCols
()-
1
;
c
++){
iscs
.
getIsoSplineContainer
(
0
,
c
).
createBorderSplineElement
(
isoLevel
);
iscs
.
getIsoSplineContainer
(
matrix
.
getRows
()-
1
,
c
).
createBorderSplineElement
(
isoLevel
);
}
}
//
if(closeAroundTheBorder){
//
for(int r=0; r<matrix.getRows()-1; r++){
//
iscs.getIsoSplineContainer(r, 0).createBorderSplineElement(isoLevel);
//
iscs.getIsoSplineContainer(r, matrix.getCols()-1).createBorderSplineElement(isoLevel);
//
}
//
for(int c=0; c<matrix.getCols()-1; c++){
//
iscs.getIsoSplineContainer(0, c).createBorderSplineElement(isoLevel);
//
iscs.getIsoSplineContainer(matrix.getRows()-1, c).createBorderSplineElement(isoLevel);
//
}
//
}
return
sortIsoPolygons
(
isoLevel
,
color
);
}
...
...
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