Package videoRangePanel
Class VRUtils
java.lang.Object
videoRangePanel.VRUtils
Some useful functions for the video range module.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]latLong2Array(LatLong[] points, boolean lat) Convert a LatLong array to a double array with one dimensions i.e.static double[]points2Array(Point[] points, boolean x) Convert a point array to a double array with one dimensions i.e.
-
Constructor Details
-
VRUtils
public VRUtils()
-
-
Method Details
-
latLong2Array
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
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
-