This commit is contained in:
Izzy De nil
2020-08-01 15:37:51 +02:00
parent 414db7f523
commit d08b1b4a03
69 changed files with 533 additions and 153 deletions

View File

@@ -14,8 +14,16 @@ namespace Globals
public Punt(double x, double y, string naam = "")
{
Naam = naam;
X = ConvertToRadians(x);
Y = ConvertToRadians(y);
if (Graden)
{
X = ConvertToRadians(x);
Y = ConvertToRadians(y);
}
else
{
X = x;
Y = y;
}
}
public override string ToString()
@@ -34,5 +42,7 @@ namespace Globals
return new Point(X, Y);
}
public bool Graden = false;
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
bce574199a38fb1c00726b6025d38e501fe5f75d
a6c3e98f6f8e04ba44c655fd229baf3074a6e170

View File

@@ -8,3 +8,13 @@ C:\Users\Beppe\source\repos\opdracht2\Globals\obj\Debug\Globals.csproj.CoreCompi
C:\Users\Beppe\source\repos\opdracht2\Globals\obj\Debug\Globals.csproj.CopyComplete
C:\Users\Beppe\source\repos\opdracht2\Globals\obj\Debug\Globals.dll
C:\Users\Beppe\source\repos\opdracht2\Globals\obj\Debug\Globals.pdb
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\bin\Debug\Globals.dll
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\bin\Debug\Globals.pdb
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\bin\Debug\GeoJSON.Net.dll
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\bin\Debug\Newtonsoft.Json.dll
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\bin\Debug\Newtonsoft.Json.xml
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\obj\Debug\Globals.csprojAssemblyReference.cache
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\obj\Debug\Globals.csproj.CoreCompileInputs.cache
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\obj\Debug\Globals.csproj.CopyComplete
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\obj\Debug\Globals.dll
C:\Users\Admin\Source\Repos\project-opdracht2\Globals\obj\Debug\Globals.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]