Package Map
Class GebcoMapFile
java.lang.Object
Map.GebcoMapFile
- All Implemented Interfaces:
MapFileManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
getContourIndex
(double depth) getMapContour
(int contourIndex) boolean
hasMapContour
(double depth) boolean
readFileData
(File file) Read all file data including contours.boolean
readFileData
(File file, boolean contours) Read file data and optionally read contours.selectMapFile
(File currentFile)
-
Constructor Details
-
GebcoMapFile
public GebcoMapFile()
-
-
Method Details
-
selectMapFile
- Specified by:
selectMapFile
in interfaceMapFileManager
-
readFileData
Description copied from interface:MapFileManager
Read file data and optionally read contours.- Specified by:
readFileData
in interfaceMapFileManager
- Parameters:
file
- file objectcontours
- true if you want the contours as well- Returns:
- true if read successful.
-
readFileData
Description copied from interface:MapFileManager
Read all file data including contours.- Specified by:
readFileData
in interfaceMapFileManager
- Parameters:
file
- File object- Returns:
- true if read successful.
-
getContourIndex
public int getContourIndex(double depth) - Specified by:
getContourIndex
in interfaceMapFileManager
-
hasMapContour
public boolean hasMapContour(double depth) -
getAvailableContours
- Specified by:
getAvailableContours
in interfaceMapFileManager
-
getContourCount
public int getContourCount()- Specified by:
getContourCount
in interfaceMapFileManager
-
getMapContour
- Specified by:
getMapContour
in interfaceMapFileManager
-
clearFileData
public void clearFileData()- Specified by:
clearFileData
in interfaceMapFileManager
-