Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 11092
13
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