# How to find the Intersecting edges of a Polygon and a Line String in Java?(JTS)

Nusrat Sultana

Greenhorn

Posts: 5

posted 2 years ago

I am not sure about whether i should post this message here or not but i need the answer of the question very badly ..

I am using JTS in java I have a Polygon and a LineString , I can easyly find the Coordinate where the LineString intersects the Polygon .

But what i need is ,

I am using JTS in java I have a Polygon and a LineString , I can easyly find the Coordinate where the LineString intersects the Polygon .

But what i need is ,

**the edges of the Polygon where the LineString Intersects the Polygon**. Is there any way or any method which will return me the intersecting edges of a polygon with a Line ?
Nusrat Sultana

Greenhorn

Posts: 5