Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

topology question

Hello,

Tan Ka Ju wrote:
Hello.

Is their in Java any method to know is a line contains or inside an
arbitrary polygon or shape?

I'll let someone else answer this (as I'm not quite sure if VisAD can do exactly what you want.) See further below...

Or is the any algorithm or mathematics
formula that can solve this problem?

Yes, there are.

Better, still, there is the JTS: "The JTS Topology Suite is an API of 2D spatial predicates and functions."

http://www.vividsolutions.com/JTS/jts_frame.htm

Hope this helps.


Thanks.
KJ

Cheers,

Ugo


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: