/// <summary> /// Shows the and hang. /// </summary> /// <param name="pointsList">The points list.</param> /// <param name="title">The title.</param> /// <param name="plot2DType">Type of the plot2 d.</param> /// <param name="closeShape">if set to <c>true</c> [close shape].</param> /// <param name="marker">The marker.</param> public static void ShowAndHang(IEnumerable <List <PointLight> > pointsList, string title = "", Plot2DType plot2DType = Plot2DType.Line, bool closeShape = true, MarkerType marker = MarkerType.Circle) { var window = new Window2DPlot(pointsList, title, plot2DType, closeShape, marker); window.ShowDialog(); }
/// <summary> /// Shows the specified points. /// </summary> /// <param name="points">The points.</param> /// <param name="title">The title.</param> /// <param name="plot2DType">Type of the plot2 d.</param> /// <param name="closeShape">if set to <c>true</c> [close shape].</param> /// <param name="marker">The marker.</param> public static void Show(IList <PointLight> points, string title = "", Plot2DType plot2DType = Plot2DType.Line, bool closeShape = true, MarkerType marker = MarkerType.Circle) { var window = new Window2DPlot(points, title, plot2DType, closeShape, marker); window.Show(); }
/// <summary> /// Shows two different lists of polygons using a unique marker for each. /// </summary> /// <param name="points1">The points1.</param> /// <param name="points2">The points2.</param> /// <param name="title">The title.</param> /// <param name="plot2DType">Type of the plot2 d.</param> /// <param name="closeShape">if set to <c>true</c> [close shape].</param> /// <param name="marker1">The marker1.</param> /// <param name="marker2">The marker2.</param> public static void ShowAndHang(IList <List <PointLight> > points1, IList <List <PointLight> > points2, string title = "", Plot2DType plot2DType = Plot2DType.Line, bool closeShape = true, MarkerType marker1 = MarkerType.Circle, MarkerType marker2 = MarkerType.Cross) { var window = new Window2DPlot(points1, points2, title, plot2DType, closeShape, marker1, marker2); window.ShowDialog(); }
/// <summary> /// Shows the specified points. /// </summary> /// <param name="points">The points.</param> /// <param name="colors">The colors.</param> /// <param name="title">The title.</param> /// <param name="plot2DType">Type of the plot2 d.</param> /// <param name="closeShape">if set to <c>true</c> [close shape].</param> /// <param name="marker">The marker.</param> public static void ShowAndHang(IList <List <double[]> > points, IList <Color> colors, string title = "", Plot2DType plot2DType = Plot2DType.Line, bool closeShape = true, MarkerType marker = MarkerType.Circle) { var window = new Window2DPlot(points, title, plot2DType, closeShape, marker, colors); window.ShowDialog(); }
public static void ShowAndHang(IList <PolygonLight> polygons, string title = "", Plot2DType plot2DType = Plot2DType.Line, bool closeShape = true, MarkerType marker = MarkerType.Circle) { var points = polygons.Select(polygon => polygon.Path).ToList(); var window = new Window2DPlot(points, title, plot2DType, closeShape, marker); window.ShowDialog(); }