Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - EOS / EOS_GD_DEFORIGIN

EOS_GD_DEFORIGIN

EOS_GD_DEFORIGIN

This function defines the origin of the grid data. This allows the user to select any corner of the grid as the origin.

Examples


In this Example we define the origin of the grid to be the Lower Right corner:

status = EOS_GD_DEFORIGIN(gridID, 3)

Syntax


Result = EOS_GD_DEFORIGIN(gridID, origincode)

Return Value


Returns SUCCEED(0) if successful and FAIL(–1) otherwise

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

origincode

Location of the origin (long) of the grid data. The allowable values are:

  • 0 = Upper left
  • 1 = Upper right
  • 2 = Lower left
  • 3 = Lower right

Keywords


None

Version History


5.2

Introduced



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us