The UpIsUpAngle method returns the rotation angle, in degrees, so that objects (especially buildings) are oriented vertically with your monitor.

This method is only available with the classified ENVI DoD plug-in.

Syntax


Result = ENVINITFCSMRasterSpatialRef.UpIsUpAngle( Lon, Lat)

Arguments


Lon (optional)

The longitude coordinate of the location to use as the “center” for the up-is-up calculation (the coordinates must be a scalar value). If not set, then the center of the image will be used.

Lat (optional)

The latitude coordinate of the location to use as the “center” for the up-is-up calculation. If not set, then the center of the image will be used.

Keywords


None

Version History


ENVI 5.6.3

Introduced

API Version


4.2

See Also


ENVINITFCSMRasterSpatialRef, ENVINITFCSMRasterSpatialRef::NorthIsUpAngle