Documentation of 'visad.georef.LatLonTuple' Java class
LatLonTuple
visad.georef

Class LatLonTuple

    • Field Detail

      • DEFAULT_UNITS

        public static final Unit[] DEFAULT_UNITS
    • Constructor Detail

      • LatLonTuple

        public LatLonTuple()
                    throws VisADException,
                           java.rmi.RemoteException
        Construct a LatLonTuple with missing values
        Throws:
        VisADException - couldn't create the necessary VisAD object
        java.rmi.RemoteException - couldn't create the necessary remote object
      • LatLonTuple

        public LatLonTuple(double lat,
                           double lon)
                    throws VisADException,
                           java.rmi.RemoteException
        Construct a LatLonTuple from double values of latitude and longitude.
        Parameters:
        lat - latitude (degrees North positive)
        lon - longitude (degrees East positive)
        Throws:
        VisADException - couldn't create the necessary VisAD object
        java.rmi.RemoteException - couldn't create the necessary remote object
      • LatLonTuple

        public LatLonTuple(Real lat,
                           Real lon)
                    throws VisADException,
                           java.rmi.RemoteException
        Construct a LatLonTuple from Reals representing the latitude and longitude.
        Parameters:
        lat - Real representing latitude (must have MathType RealType.Latitude)
        lon - Real representing longitude (must have MathType RealType.Longitude)
        Throws:
        VisADException - couldn't create the necessary VisAD object
        java.rmi.RemoteException - couldn't create the necessary remote object
      • LatLonTuple

        public LatLonTuple(Real lat,
                           Real lon,
                           Unit[] units,
                           boolean checkUnits)
                    throws VisADException,
                           java.rmi.RemoteException
        Construct a LatLonTuple from Reals representing the latitude and longitude.
        Parameters:
        lat - Real representing latitude (must have MathType RealType.Latitude)
        lon - Real representing longitude (must have MathType RealType.Longitude)
        units - units for the reals (can be null)
        checkUnits - true to make sure units is convertible with lat/lon
        Throws:
        VisADException - couldn't create the necessary VisAD object
        java.rmi.RemoteException - couldn't create the necessary remote object
    • Method Detail

      • getLatitude

        public Real getLatitude()
        Get the latitude of this point
        Specified by:
        getLatitude in interface LatLonPoint
        Returns:
        Real representing the latitude
      • getLongitude

        public Real getLongitude()
        Get the longitude of this point
        Specified by:
        getLongitude in interface LatLonPoint
        Returns:
        Real representing the longitude
      • toString

        public java.lang.String toString()
        Description copied from class: RealTuple
        Provide a String representation of this RealTuple.
        Specified by:
        toString in interface RealTupleIface
        Overrides:
        toString in class RealTuple
        Returns:
        a String representation of this

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.