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

Class EASECoordinateSystem

    • Constructor Detail

      • EASECoordinateSystem

        public EASECoordinateSystem(double spacing,
                                    double row_origin,
                                    double column_origin,
                                    int number_rows,
                                    int number_columns)
                             throws VisADException
        ctor
        Parameters:
        spacing - is the spacing in km between grid points
        row_origin - is the row origin
        column_origin - is the column origin
        number_rows - is the number of rows
        number_columns - is the number of columns
        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 EASECoordinateSystem
        Specified by:
        equals in class CoordinateSystem
        Parameters:
        cs - the object in question.
        Returns:
        true if and only if this instance equals cs.
      • getDefaultMapArea

        public java.awt.geom.Rectangle2D getDefaultMapArea()
        return the bounding box for this projection
        Specified by:
        getDefaultMapArea in class MapProjection
        Returns:
        the bounding box of the MapProjection
      • getAspectRatio

        public double getAspectRatio()
        return the ratio of the grid spacing between rows and columns
      • 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.