```python
# import Point, Polygon 
from sympy import Point, Polygon, Line 
  
# creating points using Point() 
p1, p2, p3, p4 = map(Point, [(0, 0), (1, 0), (5, 1), (0, 1)]) 
  
# creating polygon using Polygon() 
poly1 = Polygon(p1, p2, p3, p4) 
  
# using intersection() 
isIntersection = poly1.intersection(Line(p1, Point(3, 2))) 
                                      
print(isIntersection)
```

    [Point2D(0, 0), Point2D(3/2, 1)]



```python

```

003836c4d99ced69ffa34d97222c5f73e71b1499
ipynb
Jupyter Notebook
Polygon_Intersection.ipynb
williampc8985/VT-JamesRiver
6bacd10f4fd6158db74973ddc1abd89b650efc9f
MIT
Polygon_Intersection.ipynb
williampc8985/VT-JamesRiver
6bacd10f4fd6158db74973ddc1abd89b650efc9f
MIT
Polygon_Intersection.ipynb
williampc8985/VT-JamesRiver
6bacd10f4fd6158db74973ddc1abd89b650efc9f
MIT
Qwen/Qwen-72B
1. YES
2. YES