This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nusrat Sultana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 , 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 ?
 
Maneesh Godbole
Saloon Keeper
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm. What is JTS?
 
Nusrat Sultana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTS is Java Topology Suite
http://www.vividsolutions.com/jts/JTSHome.htm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic