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

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

In "", added print statements to be able to track progress on console for larger scenarios
parent 8232212d
......@@ -106,16 +106,17 @@ public class EikMeshPoly {
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("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 {
Supports Markdown
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