Package noaa.coastwatch.gui.nav
Class NavigationPoint
java.lang.Object
noaa.coastwatch.gui.nav.NavigationPoint
The
NavigationPoint
class holds data for a single
navigation analysis point.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Constructor Summary
ConstructorDescriptionNavigationPoint
(EarthLocation earthLoc, DataLocation dataLoc) Creates a new navigation point. -
Method Summary
Modifier and TypeMethodDescriptionGets the comment.Gets the data location.Gets the earth location.double[]
Gets the offset.void
setComment
(String comment) Sets the comment.void
setOffset
(double[] offset) Sets the offset.
-
Constructor Details
-
NavigationPoint
Creates a new navigation point. The offset is initialized to 0, and the comment to the empty string.- Parameters:
earthLoc
- the earth location of the point.dataLoc
- the data location of the point (or null if there is no associated data location.
-
-
Method Details
-
getEarthLoc
Gets the earth location. -
getDataLoc
Gets the data location. -
getOffset
public double[] getOffset()Gets the offset. -
getComment
Gets the comment. -
setComment
Sets the comment. -
setOffset
public void setOffset(double[] offset) Sets the offset.
-