add intersectLinePolygon method