def equals(self, other):
        if not isinstance(other, Line3D):
            return False
        return Point3D.are_collinear(self.p1, other.p1, self.p2, other.p2)
:type words: list[str]
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line3d.py/Line3D.equals--crossover with--dataset/ETHPy150Open algorhythms/LeetCode/245 Shortest Word Distance III.py/Solution.shortestWordDistance