Esempio n. 1
0
        protected void PlotLine(Point start, Point end, Material material)
        {
            UpdateLimits(GetRelativeElements(start));
            UpdateLimits(GetRelativeElements(end));

            LinePlotter.Plot(parent, start, end, material, lineMesh, PlotUtils.FunctionRadius());
        }
Esempio n. 2
0
    private void PlotBorder(List <Point> points)
    {
        for (int i = 1; i < points.Count; i++)
        {
            LinePlotter.Plot(parent, points[i - 1], points[i], lineMaterial, lineMesh, PlotUtils.FunctionRadius());
        }

        LinePlotter.Plot(parent, points.Last(), points.First(), lineMaterial, lineMesh, PlotUtils.FunctionRadius());
    }