Updated MapProjections

This commit is contained in:
Clemens 2022-01-21 00:17:01 +01:00
parent c6c597a142
commit 544ac32ee3
5 changed files with 129 additions and 112 deletions

View file

@ -16,15 +16,15 @@ namespace MapControl.Projections
/// </summary>
public class PolarStereographicProjection : MapProjection
{
public static double ConvergenceTolerance = 1e-6;
public static int MaxIterations = 10;
public static double ConvergenceTolerance { get; set; } = 1e-6;
public static int MaxIterations { get; set; } = 10;
private readonly bool north;
private readonly double scaleFactor;
private readonly double falseEasting;
private readonly double falseNorthing;
public PolarStereographicProjection(string crsId, bool north, double scaleFactor = 1d, double falseEasting = 0d, double falseNorthing = 0d)
public PolarStereographicProjection(string crsId, bool north, double scaleFactor, double falseEasting, double falseNorthing)
{
CrsId = crsId;
this.north = north;