revert to VB and update to new project file format

This commit is contained in:
schedpas
2020-09-25 09:04:15 +02:00
parent 04869b2814
commit 9feaf658be
313 changed files with 9895 additions and 17566 deletions

31
Pilz.Drawing/PointD.vb Normal file
View File

@@ -0,0 +1,31 @@
Public Class PointD
Public Property X As Double
Public Property Y As Double
Public Sub New()
X = 0
Y = 0
End Sub
Public Sub New(x As Double, y As Double)
Me.X = x
Me.Y = y
End Sub
Public Shared ReadOnly Property Empty As PointD
Get
Return New PointD
End Get
End Property
Public Shared Operator =(val1 As PointD, val2 As PointD) As Boolean
Return val1.X = val2.X AndAlso val1.Y = val2.Y
End Operator
Public Shared Operator <>(val1 As PointD, val2 As PointD) As Boolean
Return val1.X <> val2.X OrElse val1.Y <> val2.Y
End Operator
End Class