Documentation of 'visad.jmet.AlbersCoordinateSystem' Java class
AlbersCoordinateSystem
visad.jmet

Class AlbersCoordinateSystem

    • Constructor Detail

      • AlbersCoordinateSystem

        public AlbersCoordinateSystem(double la0,
                                      double lo0,
                                      double p1,
                                      double p2,
                                      double false_easting,
                                      double false_northing)
                               throws VisADException
        Albers Equal Area projection
        Parameters:
        la0 - is the latitude of the origin (deg)
        lo0 - is the longitude of the origin (deg)
        p1 - is latitude of the first parallel (deg)
        p2 - is latitude of the second parallel (deg)
        false_easting - is the value added to the x map coordinate so that x is returned positive (m) -- may be zero...
        false_northing - is the value added to the y map coordinate so that y is returned positive (m) -- may be zero... equations taken from
        Throws:
        VisADException
    • Method Detail

      • toReference

        public double[][] toReference(double[][] tuples)
                               throws VisADException
        convert from x,y to lat,lon
        Specified by:
        toReference in class CoordinateSystem
        Parameters:
        tuples - contains the x,y coordinates (grid col, row)
        Returns:
        tuple of (lat,lon);
        Throws:
        VisADException - if problem with conversion.
      • fromReference

        public double[][] fromReference(double[][] tuples)
                                 throws VisADException
        convert from lat,lon to x,y
        Specified by:
        fromReference in class CoordinateSystem
        Parameters:
        tuples - contains the lat,lon coordinates
        Returns:
        array of double values in CoordinateSystem Units.
        Throws:
        VisADException - if problem with conversion.
      • equals

        public boolean equals(java.lang.Object cs)
        determine if the Coordinate System in question is an AlbersCoordinateSystem
        Specified by:
        equals in class CoordinateSystem
        Parameters:
        cs - the object in question.
        Returns:
        true if and only if this instance equals cs.
      • main

        public static void main(java.lang.String[] args)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.