Class VRUtils

java.lang.Object
videoRangePanel.VRUtils

public class VRUtils extends Object
Some useful functions for the video range module.
Author:
Jamie Macaulay
  • Constructor Details Link icon

    • VRUtils Link icon

      public VRUtils()
  • Method Details Link icon

    • latLong2Array Link icon

      public static double[] latLong2Array(LatLong[] points, boolean lat)
      Convert a LatLong array to a double array with one dimensions i.e. latitude or longitude
      Parameters:
      lat - - true for latitude or false for longitude.
      array - - the LatLong array to convert
      Returns:
      - double array of either x or y values
    • points2Array Link icon

      public static double[] points2Array(Point[] points, boolean x)
      Convert a point array to a double array with one dimensions i.e. x or y
      Parameters:
      x - - true for x or false for y.
      array - - the point array to convert
      Returns:
      - double array of either x or y values