2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 7467e928 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

In "EikMeshPoly.java", added print statements to be able to track progress on...

In "EikMeshPoly.java", added print statements to be able to track progress on console for larger scenarios
parent 8232212d
......@@ -106,16 +106,17 @@ public class EikMeshPoly {
//Thread.sleep(500);
meshPanel.repaint();
}
//meshImprover.generate();
System.out.println(String.format("Mesh generation complete: %d vertices", meshImprover.getMesh().getNumberOfVertices()));
System.out.println("Writing TikZ file...");
write(toTexDocument(TexGraphGenerator.toTikz(meshImprover.getMesh(), f-> lightBlue, null, vertexColorFunction,1.0f, true)), fileName + ".tex");
//System.out.println(meshImprover.getMesh().getNumberOfVertices());
System.out.println("Writing TikZ file finished");
System.out.println("Writing Poly file...");
MeshPolyWriter<PVertex, PHalfEdge, PFace> meshPolyWriter = new MeshPolyWriter<>();
String[] splitName = fileName.split("\\.");
write(meshPolyWriter.to2DPoly(meshImprover.getMesh()), fileName + "_tri.poly");
System.out.println("Writing Poly file finished.");
}
public static void displayPolyFile(@NotNull final String fileName) throws IOException {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment