protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider) { try { GeometryVisualiserDialog.ShowDialog(objectProvider.GetObject()); } catch { } }
public MainWindow() { InitializeComponent(); GenerateSpider(); Geometry.Line line = new Geometry.Line(0, 0, 1000, 1000); //GeometryVisualiserDialog.ShowDialog(line); VertexGeometry arc = new Geometry.Arc(new Circle(30, new Geometry.Vector(-50, -50))); //GeometryVisualiserDialog.ShowDialog(arc); VertexGeometryCollection coll = new VertexGeometryCollection(line, arc); GeometryVisualiserDialog.ShowDialog(coll); }