public static Coordinates[] RectangleToCoordinates(DoubleCords coordinates) { return(RectangleToCoordinates(coordinates.Coords1.X, coordinates.Coords1.Y, coordinates.Coords2.X, coordinates.Coords2.Y)); }
public static IEnumerable <Coordinates> RectangleToCoordinates(DoubleCords coordinates) { return(RectangleToCoordinates(coordinates.Coords1.X, coordinates.Coords1.Y, coordinates.Coords2.X, coordinates.Coords2.Y)); }