User Tools

Site Tools


findnearbynodes_locate_nodes_based_on_mouse_position_.htm
Navigation:  ABC Library Reference > GraphClass > GraphClass Methods >====== FindNearbyNodes (locate nodes based on mouse position) ====== Previous pageReturn to chapter overviewNext page

FindNearbyNodes( Xpos, Ypos)

blk2blue.jpg

FindNearbyNodes Finds the closest node based on X and Y Mouse coordinates
Xpos The current X mouse coordinate position
Ypos The current Y mouse coordinate position

The FindNearbyNodes method returns the closest node id based on the x and y mouse coordinates.

Return Data Type:     LONG

Implementation:

The FindNearbyNodes method is called from the Interactivity method. It is also called in the Drilldown method to accurately return the proper node id when the mouse is clicked.

See Also:     Drilldown , Interactivity

findnearbynodes_locate_nodes_based_on_mouse_position_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1