Skip to content

Commit f70a44e

Browse files
committed
prints
1 parent 4010626 commit f70a44e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/eu/mihosoft/vrl/v3d/Polygon.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,15 @@ public void pruneDuplicatePoints() {
215215
this.vertices = pruneDuplicatePoints(vertices);
216216
}
217217

218-
public static ArrayList<Vertex> pruneDuplicatePoints(List<Vertex> incoming) {
218+
public ArrayList<Vertex> pruneDuplicatePoints(List<Vertex> incoming) {
219219
// return incoming;
220220
ArrayList<Vertex> newPoints = new ArrayList<Vertex>();
221221
for (int i = 0; i < incoming.size(); i++) {
222222
Vertex v = incoming.get(i);
223223
boolean duplicate = false;
224224
for (Vertex vx : newPoints) {
225225
if (vx.pos.test(v.pos, Plane.getEPSILON())) {
226+
System.out.println("Found duplicate "+this);
226227
duplicate = true;
227228
break;
228229
}

0 commit comments

Comments
 (0)