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

Code for test purposes

parent 72b6a335
No related branches found
No related tags found
1 merge request!10Surface reconstruction Refactoring
......@@ -39,8 +39,8 @@ public class OS extends ArrayList< Coordinate >
public void set( )
{
list.add( this.size() );
Integer j = occ.get(this.size() );
occ.put( this.size(), ( j == null ) ? 1 : j + 1 );
/* Not necessary for the program.*/
this.name = count;
/*----------------*/
......@@ -50,6 +50,23 @@ public class OS extends ArrayList< Coordinate >
}
public void set( int dimension )
{
list.add( this.size() );
Integer j = occ.get(this.size() );
/* Not necessary for the program.*/
this.name = count;
/*----------------*/
sizeSum = sizeSum + this.size();
count++;
if(dimension == 0)
occ.put( this.size(), ( j == null ) ? 1 : j + 1 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment