Class EventMediator.Jarvis

java.lang.Object
org.rspeer.game.provider.callback.EventMediator.Jarvis
Enclosing class:
EventMediator

public static class EventMediator.Jarvis extends Object
  • Constructor Details

    • Jarvis

      public Jarvis()
  • Method Details

    • convexHull

      public static Polygon convexHull(int[] xs, int[] ys)
      Computes and returns the convex hull of the passed points.

      The size of the list must be at least 3, otherwise this method will return null.

      Returns:
      a shape the points part of the convex hull