Interface SectorGeometry.GeographicTextureCoordinateComputer

  • Enclosing interface:
    SectorGeometry

    public static interface SectorGeometry.GeographicTextureCoordinateComputer
    An interface for computing texture coordinates for a given location.
    • Method Detail

      • compute

        double[] compute​(Angle latitude,
                         Angle longitude)
        Computes a texture coordinate for a specified location.
        Parameters:
        latitude - the location's latitude.
        longitude - the location's longitude.
        Returns:
        the [s,t] texture coordinate, where s corresponds to the longitude axis and t corresponds to the latitude axis.