bool hasLocInCurrentPolygon(string x, string y)
This method returns TRUE or FALSE depending on whether or not the location given by x and y is inside the current polygon. The current polygon must have been previously set via setCurrentGeometry, where the arguments to the latter define a polygon.
The coordinates x and y must be in the Exchange Coordinate System if the map type is NEMR or LLDG, and in the map's own coordinate system if the map is of type NRMR (See map types).
This method also returns FALSE, if no current geometry has been set or the current geometry is not that of a polygon.