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

setRotation()

The setRotation() method sets the rotation for the map projection.

Syntax

public void setRotation(int rot)

public void setRotation(float rot)

public void setRotation(double rot)

public void setRotation(String rot)

Arguments

rot

The angle through which the North direction should be rotated around the line L between the Earth's center and the point (lat, lon). This angle is measured in degrees with the positive direction being clockwise around the line L, and must be in the range -180° £ rot £ 180°. The default is 0.

If the center of the map is at the North pole, North is in the direction lon + 180°. If the origin is at the South pole, North is in the direction lon.

Exceptions

None.

  IDL Online Help (March 06, 2007)