Interface Projection

    • Method Detail

      • getImageWidth

        double getImageWidth()
        Returns:
        Image width for this projection to work properly.
      • getImageHeight

        double getImageHeight()
        Returns:
        Image weight for this projection to work properly.
      • latitudeToPixelY

        int latitudeToPixelY​(float latitude)
        Project the given latitude on the image.
        Parameters:
        latitude - Latitude to project.
        Returns:
        Projected position of the latitude on the image.
      • longitudeToPixelX

        int longitudeToPixelX​(float longitude)
        Project the given longitude on the image.
        Parameters:
        longitude - Longitude to project.
        Returns:
        Projected position of the longitude on the image.
      • pixelYToLatitude

        float pixelYToLatitude​(double py)
        Retrieve the latitude associated to the given projected point.
        Parameters:
        py - Projected y-position for which latitude should be retrieved.
        Returns:
        The original latitude of the point.
      • pixelXToLongitude

        float pixelXToLongitude​(double px)
        Retrieve the longitude associated to the given projected point.
        Parameters:
        px - Projected x-position for which longitude should be retrieved.
        Returns:
        The original longitude of the point.