/// <summary>
        /// Creates a random coordinates set at a distance between minmax.Min and minMax.Max from the zero point.
        /// Mostly used to create random inaccuracy from waypoints, etc.
        /// </summary>
        /// <param name="minMax">Minimum and maximum distance from 0,0</param>
        /// <returns>A set of coordinates</returns>
        public Coordinates CreateNearRandom(MinMaxD minMax)
        {
            double randX = minMax.GetValue() * Toolbox.RandomFrom(1, -1);
            double randY = minMax.GetValue() * Toolbox.RandomFrom(1, -1);

            return(new Coordinates(X + randX, Y + randY));
        }
 /// <summary>
 /// Creates a random coordinates set at a distance between minmax.Min and minMax.Max from the zero point.
 /// Mostly used to create random inaccuracy from waypoints, etc.
 /// </summary>
 /// <param name="minMax">Minimum and maximum distance from 0,0</param>
 /// <returns>A set of coordinates</returns>
 public static Coordinates CreateRandom(MinMaxD minMax)
 {
     return(FromAngleInDegrees(Toolbox.RandomDouble(360.0)) * minMax.GetValue());
 }