Package sac.utils

Class Utility

java.lang.Object
sac.utils.Utility

public class Utility extends Object
Some useful helper functions.
  • Constructor Details

    • Utility

      public Utility()
  • Method Details

    • parsePointsString

      public static ArrayList<Point> parsePointsString(String string)
      Convert to a space-seperated string of coordinates to points.

      Format: x0 y0 x1 y1 ...

      Parameters:
      string - A space-seperated string of coordinates.
      Returns:
      A list of points.