示例#1
0
 /// <summary>
 /// Reverse without returning convergence and scale.
 /// </summary>
 /// <param name="northp">the pole which is the center of projection (<see langword="true"/> means north, <see langword="false"/> means south).</param>
 /// <param name="x">easting of point (meters).</param>
 /// <param name="y">northing of point (meters).</param>
 /// <returns>
 /// <i>lat</i>, latitude of point (degrees) and <i>lon</i>, longitude of point (degrees).
 /// </returns>
 public (double lat, double lon) Reverse(bool northp, double x, double y) => Reverse(northp, x, y, out _, out _);
示例#2
0
 /// <summary>
 /// Forward without returning convergence and scale.
 /// </summary>
 /// <param name="northp">the pole which is the center of projection (<see langword="true"/> means north, <see langword="false"/> means south).</param>
 /// <param name="lat">latitude of point (degrees).</param>
 /// <param name="lon">longitude of point (degrees).</param>
 /// <returns>
 /// <i>x</i>, easting of point (meters) and <i>y</i>, northing of point (meters).
 /// </returns>
 public (double x, double y) Forward(bool northp, double lat, double lon) => Forward(northp, lat, lon, out _, out _);