|
Method Detaildouble calcDistances(PacketDataList list) Adds a new column to the datalist called 'distance' and calculates the distance between the first row and the remaining rows.
Parameters:
Returns: double Since: 08-27-2019 double calcDistances(double lat, double lon, PacketDataList list) Adds a new column to the datalist called 'distance' and calculates the distance between the initial provided coordinates and the row and returns the maximum distance.
Parameters:
Returns: double Since: 08-27-2019 Data getCenter(DataList list) Returns a Data object containing latitude and longitude geo-coordinate of the approximate center of the list.
Parameters:
Returns: Data Since: 08-27-2019 double getDistance(double lat1, double lon1, double lat2, double lon2) Returns the distance between the two coordinates.
Parameters:
Returns: double Since: 08-27-2019 Data getEast(DataList list, double longitude) Returns a Data object containing latitude and longitude of the Eastern most point of the list starting at the specified longitude.
Parameters:
Returns: Data Since: 08-27-2019 double getLatitudeDistance(DataList list) Returns the distance between the Northern-most and Southern-most points of the list
Parameters:
Returns: double Since: 08-27-2019 double getLongitudeDistance(DataList list) Returns the distance between the Eastern-most and Western-most points of the list
Parameters:
Returns: double Since: 08-27-2019 Data getNorth(DataList list, double latitude) Returns a Data object containing latitude and longitude of the Northern most point of the list starting at the specified latitude.
Parameters:
Returns: Data Since: 08-27-2019 Data getSouth(DataList list, double latitude) Returns a Data object containing latitude and longitude of the Southern most point of the list starting at the specified latitude.
Parameters:
Returns: Data Since: 08-27-2019 Data getWest(DataList list, double longitude) Returns a Data object containing latitude and longitude of the Western most point of the list starting at the specified longitude.
Parameters:
Returns: Data Since: 08-27-2019 PacketDataList inject(DataList list, Data data) Injects the data into the new list based on relative distance to other points on the list. Data must have latitude,longitude coordinates.
Parameters:
Returns: PacketDataList Since: 08-27-2019 boolean isCoordinateInsidePath(double latitude, double longitude, DataList list) Returns true if the specified coordinate is within the are of the specified path.
Parameters:
Returns: boolean Since: 08-27-2019 PacketDataList sort(DataList list) Sorts the list by distance relative to each other and starting with the first row. Returns the new sorted list with two new columns- distance and sort.
Parameters:
Returns: PacketDataList Since: 08-27-2019 toMercator(PacketDataList list, int height, int width, int zoom) Adds a Mercator projection of the list as x,y coordinates. The anticipated target is an image of given height and width.
Parameters:
Since: 08-27-2019 String toString() Returns a description of this object. Returns: String Since: 08-27-2019 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |