Research of Polygon on Java Phone
How to deal with a polygon with J2ME on Java Phone:First, put all points in a vector in a direction; Second, connect two points that they don't connect with each other line in the polygon, bisect the polygon to two polygon (p1 and p2); Third, bisect recursively p1 and p2 untile they are triangles. Tests proved the algorithm is efficiency in LBS.