protected bool LaunchView(params Tuple <IPolygon, string>[] tuples) { if (App.Instance != null && System.Windows.Application.Current == null) { return(false); } Program.PrintTitle("MESH VIEWER"); if (AskUser("Show meshes?")) { MeshView.ShowMeshes(tuples); return(true); } return(false); }
protected bool LaunchLogView(params Tuple <Log, string>[] tuples) { if (App.Instance != null && System.Windows.Application.Current == null) { return(false); } Program.PrintTitle("STEP VISUALIZER"); if (AskUser("Show algorithm step visualizers?")) { MeshView.ShowLogs(tuples); return(true); } else { return(false); } }