Feature request: extend the getValueAtLocation method to Polyline() and Polygon() [message #92205] |
Thu, 29 October 2015 07:31 |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Hi,
before I start with the feature request, I would simply point out that the getValueAtLocation() method is listed in the IDL Help as part of Polygon and Polyline. But right after the list of methods available for the Polygon() and Polyline() functions there is a note:
Note: The GetValueAtLocation method is not supported for POLYLINE.
This is a strange inconsistency. Why is it listed and you say that it is not available???
Anyway, I deal a lot with polygon() and polyline() on image() and I would like to know to which corner (of the polygon or line) the mouse pointer is closest to. Now I can calculate distances in cartesian coordinates myself (yesss, I'm that good! ##sarcastic comment##), however, I don't see why this shouldn't be done within the getValueAtLocation() method that seems to be done just for that...
I don't thick that this is much different than from a plot()...
Cheers,
Helder
|
|
|