Пример #1
0
 def testParallelThroughPoint(self):
     L1 = Line(Point(0, 0), Point(1, 1))
     Lp = Line(Point(0, -1), Point(1, 0))
     p = Point(2, 1)
     self.assertEqual(L1.parallel_through_point(p), Lp)