diff --git a/Line.py b/Line.py index 834e71e..d46033b 100644 --- a/Line.py +++ b/Line.py @@ -9,10 +9,12 @@ class Line(Shape): return len(self.vars) def nPts(self): - return 2 + return 3 def toEqu(self, ptNum): if ptNum == 0: return ([1, 0, 0, 0], [0, 1, 0, 0]) elif ptNum == 1: return ([0, 0, 1, 0], [0, 0, 0, 1]) + elif ptNum == 2: + return ([0.5, 0, 0.5, 0], [0, 0.5, 0, 0.5])