Unproject() public method

Calculates the latitude and longitude points.
public Unproject ( double x, double y, double &lat, double &lon ) : void
x double X coordinate in the plane of projection
y double Y-coordinate in the plane of projection
lat double Latitude of the
lon double Longitude points
return void
コード例 #1
0
        private static GeoPoint unprojectPoint(PointD point, GnomonicProjection projection)
        {
            double lat, lon;

            projection.Unproject(point.X, point.Y, out lat, out lon);
            return(new GeoPoint(lon, lat));
        }
コード例 #2
0
 private static GeoPoint unprojectPoint(PointD point, GnomonicProjection projection)
 {
     double lat, lon;
     projection.Unproject(point.X, point.Y, out lat, out lon);
     return new GeoPoint(lon, lat);
 }