/*
* $Id: SGTPoint.java,v 1.7 2003/08/22 23:02:38 dwd Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restrictions in its use, it is expected that appropriate
* credit be given to its author and to the National Oceanic and Atmospheric
* Administration should the software be included by the recipient as an
* element in other product development.
*/
package sgtplot.dm;
import sgtplot.util.GeoDate;
/**
* Defines a data object to be of Point type. Interpretation
* of X and Y is determined by the CoordinateSystem. For
* Cartesian, X and Y are the Cartesian coordinates. For
* Polar,
* X and Y are R (radius) and Theta (angle), respectively.
*
* The SGTPoint interface only defines data access, not how
* the data will be constructed or set.
*
* @author Donald Denbo
* @version $Revision: 1.7 $, $Date: 2003/08/22 23:02:38 $
* @since 1.0
* @see SGTData
* @see CoordinateSystem
* @see Cartesian
* @see Polar
* @see SimplePoint
*/
public interface SGTPoint extends SGTData {
/**
* Get the x coordinate.
*/
public double getX();
/**
* Get the y coordinate.
*/
public double getY();
/**
* Test if a value is associated with the SGTPoint.
*/
public boolean hasValue();
/**
* Get the associated value.
*/
public double getValue();
/**
* Get the SGTMetaData object associated with the value.
*/
public SGTMetaData getValueMetaData();
/**
* Get the Time value.
*/
public GeoDate getTime();
/**
* Get the time as long referenced from
* 1970-01-01.
*
* @since 3.0
*/
public long getLongTime();
}
Ads help maintain this website.