comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Feature request: extend the getValueAtLocation method to Polyline() and Polygon()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Feature request: extend the getValueAtLocation method to Polyline() and Polygon() [message #92205] Thu, 29 October 2015 07:31
Helder Marchetto is currently offline  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
[Message index]
 
Read Message
Previous Topic: layout_plot
Next Topic: point on an image()

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:11:03 PDT 2025

Total time taken to generate the page: 0.00419 seconds