Previous ION Java User's Guide: ION Java Class and Method Reference Next

setLat(), setLon()

Sets the lat/lon on which to center the projection.

Syntax

public void setLat(int lat)

public void setLat(float lat)

public void setLat(double lat)

public void setLat(String lat)

public void setLon(int lon)

public void setLon(float lon)

public void setLon(double lon)

public void setLon(String lon)

Arguments

lat

The latitude of the point on the Earth's surface to be mapped to the center of the projection plane. Latitude is measured in degrees north of the equator, and lat must be in the range -90° £ lat £ 90°. The default is 0.

lon

The longitude of the point on the Earth's surface to be mapped to the center of the projection plane. Longitude is measured in degrees east of the Greenwich meridian, and lon must be in the range -180° £ lon £ 180°. The default is 0.

Exceptions

None.

  IDL Online Help (March 06, 2007)