@property
    def direction_cosine(self):
        p1, p2 = self.points
        return p1.direction_cosine(p2)
The normalized direction ratio of a given line in 3D.
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line3d.py/LinearEntity3D.direction_cosine