public synchronized VisualItem findItem(Point p){
  Point2D p2=(m_itransform == null ? p : m_itransform.transform(p,m_tmpPoint));
  if (!m_queue.psorted)   m_queue.sortPickingQueue();
  for (int i=m_queue.psize; --i >= 0; ) {
    VisualItem vi=m_queue.pitems[i];
    if (!vi.isValid())     continue;
    Renderer r=vi.getRenderer();
    if (r != null && vi.isInteractive() && r.locatePoint(p2,vi)) {
      return vi;
    }
  }
  return null;
}

public synchronized VisualItem findItem ( Point p ) { Point2D p2 = ( m_itransform == null ? p : m_itransform . transform ( p , m_tmpPoint ) ) ; if ( ! m_queue . psorted ) m_queue . sortPickingQueue ( ) ; for ( int i = m_queue . psize ; -- i >= 0 ; ) { VisualItem vi = m_queue . pitems [ i ] ; if ( ! vi . isValid ( ) ) continue ; Renderer r = vi . getRenderer ( ) ; if ( r != null && vi . isInteractive ( ) && r . locatePoint ( p2 , vi ) ) { return vi ; } } return null ; }
returns the visualitem located at the given point .
