public Vector2D(Size2D size) { Angle = (double)Math.Atan2(size.Height, size.Width); Length = (double)Math.Sqrt(size.Height * size.Height + size.Width * size.Width); }