Minor changes and additions.

This commit is contained in:
wo80
2022-02-16 21:12:19 +01:00
parent b12d168cea
commit 8952d7d993
6 changed files with 76 additions and 11 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ namespace TriangleNet.Examples
/// </summary>
public class Example9
{
public static void Run()
public static void Run(bool print = false)
{
var pts = new List<Vertex>
{
@@ -39,7 +39,7 @@ namespace TriangleNet.Examples
var list = MeshValidator.GetDegenerateBoundaryTriangles(mesh);
if (list.Any())
if (print && list.Any())
{
Console.WriteLine("Iteration {0}: found {1} degenerate triangle(s) of {2}.",
i, list.Count(), mesh.Triangles.Count);