//centroid = new Point(round(centroid.x), round(centroid.y), round(centroid.z));
if (segments.size() >= 3)
for(Segment s : segments) {
- System.out.println("newt! " + s.p1 + " " + centroid + " " + s.p2 + " " + plane.norm.times(-1));
- mesh.newT(s.p1, centroid, s.p2, plane.norm.times(-1), 0);
+ //System.out.println("newt! " + s.p1 + " " + centroid + " " + s.p2 + " " + plane.norm().times(-1));
+ mesh.newT(s.p1, centroid, s.p2, plane.norm().times(-1), 0);
}
- System.out.println("done");
+ //System.out.println("done");
return null;
}