static void Main() { var consoleWnd = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle; Console.WindowTop = 0; Console.WindowLeft = 0; Imports.SetWindowPos(consoleWnd, 0, 0, 0, 0, 0, Imports.SWP_NOSIZE | Imports.SWP_NOZORDER); Console.SetWindowSize(((Console.LargestWindowWidth - 1) / 2) * 2 + 1, ((Console.LargestWindowHeight - 1) / 2) * 2 + 1); Console.BufferWidth = ((Console.LargestWindowWidth - 1) / 2) * 2 + 1; Console.BufferHeight = ((Console.LargestWindowHeight - 1) / 2) * 2 + 1; Console.CursorVisible = false; //* //Point point = new Point(3, MyMath.DegToRad(0)); Point point = new Point(10, 0); // Точка point.SetRelativePoint(new Point(Console.BufferWidth / 2 + 1, -(Console.BufferHeight / 2 + 1))); //назначение своей координатной сетки по точке в середине. Vector vector = new Vector(point); // Создание вектора(от начала координат до точки) vector = vector * 2; vector.Draw(); Console.ReadKey(true); Console.ForegroundColor = ConsoleColor.Green; vector = new Vector(new Point //Новый вектор по точке (-10, 10, new Point //Указываются координаты и точка начала координат. (vector.GetPoint().GetX(vector.GetRelativePoint()), // vector.GetPoint().GetY(vector.GetRelativePoint())) // ) ); // Изменить GetPoint or перегрузить or изменить что-то Для избежания этой конструкции vector.Draw(); Console.ReadKey(true); Console.ForegroundColor = ConsoleColor.Red; vector = new Vector(new Point(-10, -10, new Point(vector.GetPoint().GetX(vector.GetRelativePoint()), vector.GetPoint().GetY(vector.GetRelativePoint()))));// Вах башня vector.Draw(); Console.ReadKey(true); //*/ //Переделать все Draw на алгоритм Брезенхема(В особенности круг) }