コード例 #1
0
 /// <summary>
 /// Constructor for <see cref="AzimuthalEquidistant"/>.
 /// </summary>
 /// <param name="earth">the <see cref="IGeodesic"/> object to use for geodesic calculations.</param>
 public AzimuthalEquidistant(IGeodesic earth) => _earth = earth;
コード例 #2
0
 /// <summary>
 /// Initialize a new <see cref="CassiniSoldner"/> instance with specified center point and <see cref="Geodesic"/> instance.
 /// </summary>
 /// <param name="earth">the <see cref="Geodesic"/> object to use for geodesic calculations.</param>
 /// <param name="lat0">latitude of center point of projection (degrees).</param>
 /// <param name="lon0">longitude of center point of projection (degrees).</param>
 public CassiniSoldner(double lat0, double lon0, IGeodesic earth)
 {
     _earth = earth;
     Reset(lat0, lon0);
 }
コード例 #3
0
ファイル: Gnomonic.cs プロジェクト: noelex/GeographicLib.NET
 /// <summary>
 /// Initialize a new <see cref="Gnomonic"/> instance with specified <see cref="Geodesic"/> instance.
 /// </summary>
 /// <param name="earth">the <see cref="IGeodesic"/> object to use for geodesic calculations.</param>
 public Gnomonic(IGeodesic earth)
 {
     _earth = earth;
     _a     = _earth.EquatorialRadius;
     _f     = _earth.Flattening;
 }
コード例 #4
0
 /// <summary>
 /// Initialize a new <see cref="CassiniSoldner"/> instance with specified <see cref="IGeodesic"/> instance.
 /// </summary>
 /// <param name="earth">the <see cref="IGeodesic"/> object to use for geodesic calculations.</param>
 public CassiniSoldner(IGeodesic earth) : this(0, 0, earth)
 {
 }