Skip to content
Snippets Groups Projects
Commit 3d1959fe authored by Céline  TREBEAU's avatar Céline TREBEAU
Browse files

Rename

parent 82f20a90
No related branches found
No related tags found
1 merge request!10Surface reconstruction Refactoring
...@@ -6,9 +6,9 @@ import java.util.*; ...@@ -6,9 +6,9 @@ import java.util.*;
/** /**
* OS stands for Orthogonal Surface which is list of ordered Coordinates being part of the same 1D surface. * OS stands for Orthogonal Surface Element which is list of ordered Coordinates being part of the same 1D surface.
*/ */
public class OS extends ArrayList< Coordinate > public class OSE extends ArrayList< Coordinate >
{ {
private static TreeSet <Integer> list = new TreeSet<>(); private static TreeSet <Integer> list = new TreeSet<>();
private static TreeMap<Integer, Integer> occ = new TreeMap<>(); private static TreeMap<Integer, Integer> occ = new TreeMap<>();
...@@ -46,10 +46,6 @@ public class OS extends ArrayList< Coordinate > ...@@ -46,10 +46,6 @@ public class OS extends ArrayList< Coordinate >
/*----------------*/ /*----------------*/
sizeSum = sizeSum + this.size(); sizeSum = sizeSum + this.size();
count++; count++;
} }
public void set( int dimension ) public void set( int dimension )
...@@ -78,7 +74,7 @@ public class OS extends ArrayList< Coordinate > ...@@ -78,7 +74,7 @@ public class OS extends ArrayList< Coordinate >
* @param dimension - the dimension in witch the OS has been constructed. * @param dimension - the dimension in witch the OS has been constructed.
* @return true if the two OS are next to each other, false otherwise. * @return true if the two OS are next to each other, false otherwise.
*/ */
public boolean isNextTo( OS next, int dimension ) public boolean isNextTo( OSE next, int dimension )
{ {
if ( dimension == 0 ) if ( dimension == 0 )
{ {
...@@ -202,7 +198,7 @@ public static void setStartingStatus(int dimension) ...@@ -202,7 +198,7 @@ public static void setStartingStatus(int dimension)
public static void setCount( int count ) public static void setCount( int count )
{ {
OS.count = count; OSE.count = count;
} }
public static TreeMap< Integer, Integer > getOcc() public static TreeMap< Integer, Integer > getOcc()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment