mirror of
https://github.com/bvanroll/cs-map-project.git
synced 2025-08-29 20:02:43 +00:00
commit
This commit is contained in:
@@ -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.
@@ -1 +1 @@
|
||||
bce574199a38fb1c00726b6025d38e501fe5f75d
|
||||
a6c3e98f6f8e04ba44c655fd229baf3074a6e170
|
||||
|
@@ -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.
Binary file not shown.
@@ -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")]
|
Reference in New Issue
Block a user