org.opensha.commons.util.binFile
Class GeolocatedRectangularBinaryMesh2DCalculator
java.lang.Object
org.opensha.commons.util.binFile.BinaryMesh2DCalculator
org.opensha.commons.util.binFile.GeolocatedRectangularBinaryMesh2DCalculator
public class GeolocatedRectangularBinaryMesh2DCalculator
- extends BinaryMesh2DCalculator
|
Field Summary |
static boolean |
D
|
| Methods inherited from class org.opensha.commons.util.binFile.BinaryMesh2DCalculator |
calcFileIndex, calcFileX, calcFileY, calcMeshIndex, calcMeshX, calcMeshY, getMaxFilePos, getMeshOrder, getNX, getNY, getType, setMeshOrder, setNX, setNY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D
public static final boolean D
- See Also:
- Constant Field Values
GeolocatedRectangularBinaryMesh2DCalculator
public GeolocatedRectangularBinaryMesh2DCalculator(BinaryMesh2DCalculator.DataType numType,
int nx,
int ny,
double minLat,
double minLon,
double gridSpacing)
- Creates a new GeolocatedRectangularBinaryMesh2DCalculator assuming that the data starts at the bottom left
corner of the region (at minLat, minLon) and is ordered fast-X-Y.
- Parameters:
numType - nx - ny - minLat - minLon - gridSpacing -
calcClosestLocationIndices
public long[] calcClosestLocationIndices(Location loc)
calcClosestLocationIndices
public long[] calcClosestLocationIndices(double lat,
double lon)
calcClosestLocationIndex
public long calcClosestLocationIndex(Location loc)
calcClosestLocationIndex
public long calcClosestLocationIndex(double lat,
double lon)
calcClosestLocationFileIndex
public long calcClosestLocationFileIndex(Location loc)
calcClosestLocationFileIndex
public long calcClosestLocationFileIndex(double lat,
double lon)
getLocationForPoint
public Location getLocationForPoint(long x,
long y)
calcClosestLocation
public Location calcClosestLocation(Location loc)
calcClosestLocation
public Location calcClosestLocation(double lat,
double lon)
getMinLat
public double getMinLat()
getMaxLat
public double getMaxLat()
getMinLon
public double getMinLon()
getMaxLon
public double getMaxLon()
getGridSpacing
public double getGridSpacing()
isStartBottom
public boolean isStartBottom()
setStartBottom
public void setStartBottom(boolean startBottom)
isStartLeft
public boolean isStartLeft()
setStartLeft
public void setStartLeft(boolean startLeft)
getApplicableRegion
public Region getApplicableRegion()
isWrapLat
public boolean isWrapLat()
isWrapLon
public boolean isWrapLon()