Intersection of Line and Polygon and the Area of Polygon