my dog learned polymorphism*
The moose likes Java in General and the fly likes How to find the Intersecting edges of a Polygon and a Line String in Java?(JTS) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to find the Intersecting edges of a Polygon and a Line String in Java?(JTS)" Watch "How to find the Intersecting edges of a Polygon and a Line String in Java?(JTS)" New topic
Author

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

Nusrat Sultana
Greenhorn

Joined: Aug 24, 2013
Posts: 5
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

Joined: Jul 26, 2007
Posts: 10167
    
    8

Umm. What is JTS?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Nusrat Sultana
Greenhorn

Joined: Aug 24, 2013
Posts: 5
JTS is Java Topology Suite
http://www.vividsolutions.com/jts/JTSHome.htm
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to find the Intersecting edges of a Polygon and a Line String in Java?(JTS)
 
Similar Threads
Non-static method cannot be referenced from a static context?
Polygonal Meshes
Struts2, How to populate this object with json
unable to map all parts of SDO_GEOMETRY
finding the intersection of two lines- for a junit test case