neys.h
Upload User: oybseng
Upload Date: 2015-04-27
Package Size: 7831k
Code Size: 8k
Category:

GDI-Bitmap

Development Platform:

Visual C++

  1. #ifndef NEYS_H
  2.   #define NEYS_H
  3. /***************************************************************************/
  4. /* RSC IDENTIFIER: NEYS
  5.  *
  6.  * ABSTRACT
  7.  *
  8.  *    This component provides conversions between Geodetic coordinates
  9.  *    (latitude and longitude in radians) and Ney's (Modified Lambert 
  10.  *    Conformal Conic) projection coordinates (easting and northing in meters).
  11.  *
  12.  * ERROR HANDLING
  13.  *
  14.  *    This component checks parameters for valid values.  If an invalid value
  15.  *    is found the error code is combined with the current error code using
  16.  *    the bitwise or.  This combining allows multiple error codes to be
  17.  *    returned. The possible error codes are:
  18.  *
  19.  *       NEYS_NO_ERROR           : No errors occurred in function
  20.  *       NEYS_LAT_ERROR          : Latitude outside of valid range
  21.  *                                     (-90 to 90 degrees)
  22.  *       NEYS_LON_ERROR          : Longitude outside of valid range
  23.  *                                     (-180 to 360 degrees)
  24.  *       NEYS_EASTING_ERROR      : Easting outside of valid range
  25.  *                                     (depends on ellipsoid and projection
  26.  *                                     parameters)
  27.  *       NEYS_NORTHING_ERROR     : Northing outside of valid range
  28.  *                                     (depends on ellipsoid and projection
  29.  *                                     parameters)
  30.  *       NEYS_FIRST_STDP_ERROR   : First standard parallel outside of valid
  31.  *                                     range (