The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_geomap
Class: TGeoMap
Declaration: function CalcPixelCoordsUTM (Northing, Easting: double; var x,y: integer): boolean;

The method CalcPixelCoordsUTM calculates the pixel coordinates of a given location defined by the UTM coordinates Northing and Easting. The pixel coordinates are valid only if the function returns a TRUE value (i.e. if the graticule uses UTM projection and is calibrated and valid).

Hint: The pixel coordinates are in the reference frame of the scanned map image, use the method MapImageToControl to transform the coordinates to the screen reference frame.

Last Update: 2012-Okt-20