- To: Tan Ka Ju <kaju@xxxxxxxxxxxxx>
- Subject: RE: printing three display components
- From: Bill Hibbard <billh@xxxxxxxxxxxxx>
- Date: Fri, 25 Jul 2003 04:34:47 -0500 (CDT)
If you are using VisAD, then the method: public static boolean inside(float[][] s, float x, float y) in visad.DelaunayCustom will tell you if the point (x, y) is inside the polygon described by s, which is dimensioned float[2][number_of_points]. On Fri, 25 Jul 2003, Tan Ka Ju wrote: > Hello. > > Is their in Java any method to know is a line contains or inside an > arbitrary polygon or shape? Or is the any algorithm or mathematics > formula that can solve this problem? > > Thanks. > KJ
- Follow-Ups:
- RE: printing three display components
- From: Tan Ka Ju
- RE: printing three display components
- References:
- RE: printing three display components
- From: Tan Ka Ju
- RE: printing three display components