//--------------------------------------------------------------------------------------------- //Поворот до оси X private Point2D[] RotatePoints(double angle, params Point2D[] points2D) { RealVector[] coordinatesVectors = PlaneManager.CreateVectorsFromPoints(points2D); RealMatrix rotationMatrix = PlaneManager.GetRotationMatrixAnticlockwise(angle); RealVector[] newCoordinatesVectors = PlaneManager.RotateVectros(coordinatesVectors, rotationMatrix); Point2D[] newPoints = PlaneManager.CreatePoints2DFromVectors(newCoordinatesVectors); return(newPoints); }