Cleaning.
[master-thesis.git] / Parasitemia / Parasitemia / Types.fs
index 634a7b7..e27f7d0 100644 (file)
@@ -52,6 +52,7 @@ type Cell = {
 type Line (a: float, b: float) =
     member this.A = a
     member this.B = b
+    member this.Valid = not (Double.IsInfinity this.A)
 
 [<Struct>]
 type PointD (x: float, y: float) =