Lisp HUG Maillist Archive

I bet this is not so stupid.... CAPI and "line" selection.

Suppose I have two pinboard objects that are lines (or similar).

They are defined as

L1	(0 0) to (10 10)
L2	(0  0) to (10 9)

and are added to the layout in that order with a :add-top action.

Now, if I try to CAPI:PINBOARD-OBJECT-AT-POSITION at position (8 8)
I get back L2.  However, I may want to be more precise and actually get 
L1 (which is right under the point (8 8)).  Is there a better way to 
get the "right" object, i.e. L1 in this case, without mapping through 
the LAYOUT-DESCRIPTION?

Thanks

Marco

--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Updated at: 2020-12-10 08:59 UTC