NASA World Wind

gov.nasa.worldwind.terrain
Interface SectorGeometry.GeographicTextureCoordinateComputer

Enclosing interface:
SectorGeometry

public static interface SectorGeometry.GeographicTextureCoordinateComputer

An interface for computing texture coordinates for a given location.


Method Summary
 double[] compute(Angle latitude, Angle longitude)
          Computes a texture coordinate for a specified 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.

NASA World Wind