convert VB to C#

This commit is contained in:
2020-09-24 11:21:53 +02:00
parent 64277916cd
commit fecbeb4659
320 changed files with 17755 additions and 10320 deletions

39
Pilz.Drawing/PointD.cs Normal file
View File

@@ -0,0 +1,39 @@
namespace Pilz.Drawing
{
public class PointD
{
public double X { get; set; }
public double Y { get; set; }
public PointD()
{
X = 0d;
Y = 0d;
}
public PointD(double x, double y)
{
X = x;
Y = y;
}
public static PointD Empty
{
get
{
return new PointD();
}
}
public static bool operator ==(PointD val1, PointD val2)
{
return val1.X == val2.X && val1.Y == val2.Y;
}
public static bool operator !=(PointD val1, PointD val2)
{
return val1.X != val2.X || val1.Y != val2.Y;
}
}
}