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

Class EarthLocationLite

    • Constructor Detail

      • EarthLocationLite

        public EarthLocationLite(double lat,
                                 double lon,
                                 double alt)
                          throws VisADException
        Construct a new EarthLocationLite
        Parameters:
        lat - latitude
        lon - longitude
        alt - altitude
        Throws:
        VisADException - On badness
      • EarthLocationLite

        public EarthLocationLite(Real lat,
                                 Real lon,
                                 Real alt)
        Construct a new EarthLocationLite
        Parameters:
        lat - latitude
        lon - longitude
        alt - altitude
    • Method Detail

      • getLatLonPoint

        public LatLonPoint getLatLonPoint()
        This is an EarthLocation interface method. It just a LatLonTuple made from getLatitude() and getLongitude();
        Specified by:
        getLatLonPoint in interface EarthLocation
        Returns:
        this
      • getComponents

        public Data[] getComponents(boolean copy)
        Create, if needed, and return the component array.
        Overrides:
        getComponents in class Tuple
        Parameters:
        copy - if true then return a copy of the tuple array. Else return the actual array
        Returns:
        components
      • equals

        public boolean equals(java.lang.Object obj)
        Indicates if this Tuple is identical to an object.
        Specified by:
        equals in interface LatLonPoint
        Overrides:
        equals in class Tuple
        Parameters:
        obj - The object.
        Returns:
        true if and only if the object is a Tuple and both Tuple-s have identical component sequences.
      • hashCode

        public int hashCode()
        Returns the hash code of this object.
        Overrides:
        hashCode in class Tuple
        Returns:
        The hash code of this object.
      • main

        public static void main(java.lang.String[] args)
                         throws VisADException,
                                java.rmi.RemoteException
        run 'java ucar.visad.EarthLocationLite' to test the RealTuple class. This does a performance comparison of creating this object and the EarthLocationTuple
        Parameters:
        args - ignored
        Throws:
        java.rmi.RemoteException - Java RMI problem
        VisADException - Unable to create the VisAD objects

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.