Commit f70a44e 1 parent 4010626 commit f70a44e Copy full SHA for f70a44e
File tree 1 file changed +2
-1
lines changed
src/main/java/eu/mihosoft/vrl/v3d
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -215,14 +215,15 @@ public void pruneDuplicatePoints() {
215
215
this .vertices = pruneDuplicatePoints (vertices );
216
216
}
217
217
218
- public static ArrayList <Vertex > pruneDuplicatePoints (List <Vertex > incoming ) {
218
+ public ArrayList <Vertex > pruneDuplicatePoints (List <Vertex > incoming ) {
219
219
// return incoming;
220
220
ArrayList <Vertex > newPoints = new ArrayList <Vertex >();
221
221
for (int i = 0 ; i < incoming .size (); i ++) {
222
222
Vertex v = incoming .get (i );
223
223
boolean duplicate = false ;
224
224
for (Vertex vx : newPoints ) {
225
225
if (vx .pos .test (v .pos , Plane .getEPSILON ())) {
226
+ System .out .println ("Found duplicate " +this );
226
227
duplicate = true ;
227
228
break ;
228
229
}
You can’t perform that action at this time.
0 commit comments