Python | Sympy Line.parallel_line method
In Sympy, the function parallel_line() is used to create a new Line parallel to the given linear entity which passes through the given point p. Syntax: Line.parallel_line(p) Parameters: p: Point Returns: Line Example #1: Python3 # import sympy and Point, Line from sympy import Point, Line p1, p2, p3