Function swri_transform_util::Wgs84FromLocalXy

Function Documentation

void swri_transform_util::Wgs84FromLocalXy(double x, double y, double reference_latitude, double reference_longitude, double &latitude, double &longitude)

Transform a point from an ortho-rectified LocalXY coordinate system into WGS84 latitude and longitude.

Assumes the LocalXY data was generated with respect to the WGS84 datum.

Parameters:
  • x[in] The input X coordinate in meters.

  • y[in] The input Y coordinate in meters.

  • reference_latitude[in] The reference WGS84 latitude in degrees.

  • reference_longitude[in] The reference WGS84 longitude in degrees.

  • latitude[out] The output latitude in degrees.

  • longitude[out] The output latitude in degrees.