Commit 70494587 authored by a001188's avatar a001188
Browse files

Initial commit

parent 520d8478
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment