public class GridCoordinate2D
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
findCoordElement(double wantLat,
double wantLon,
int[] rectIndex) |
boolean |
findCoordElementForce(double wantLat,
double wantLon,
int[] rectIndex) |
boolean |
findCoordElementNoForce(double wantLat,
double wantLon,
int[] rectIndex)
Find the best index for the given lat,lon point.
|
public boolean findCoordElementForce(double wantLat, double wantLon, int[] rectIndex)
public boolean findCoordElement(double wantLat, double wantLon, int[] rectIndex)
public boolean findCoordElementNoForce(double wantLat, double wantLon, int[] rectIndex)
wantLat
- lat of pointwantLon
- lon of pointrectIndex
- return (row,col) index, or best guess here. may not be null