Exemplo n.º 1
0
def snipTrajectory(t1, t2):
    maxLen = max(len(t1), len(t1))
    return [
        Trajectory([t1[i] for i in range(maxLen)]),
        Trajectory([t2[i] for i in range(maxLen)])
    ]
Exemplo n.º 2
0
 def testL_one_simple(self):
     a = Trajectory([Point((1, 2))])
     b = Trajectory([Point((5, 5))])