public static string BuildStatus(TriMesh mesh) { if (mesh == null) { return(null); } string status = "Name: " + mesh.FileName; status += " Vertice: " + mesh.Vertices.Count; status += " Edges: " + mesh.Edges.Count; status += " Faces: " + mesh.Faces.Count; status += " Boundaries: " + TriMeshUtil.CountBoundary(mesh).ToString(); status += " Genus: " + TriMeshUtil.CountGenus(mesh).ToString(); status += " Component: " + TriMeshUtil.CountComponents(mesh, false).ToString(); status += " Euler: " + CountEulerCharacteristic(mesh).ToString(); status += " Area: " + ComputeAreaTotal(mesh).ToString(); status += " Volumen: " + ComputeVolume(mesh).ToString(); status += " Radius: " + ComputeBoundingSphere(mesh).Radius.ToString(); return(status); }