internal virtual int GetRedElement() { if (m_b_quad_tree) { if (!m_b_swap_elements) { return(!m_b_paths ? m_seg_iter.GetStartPointIndex() : m_path_index); } return(m_quad_tree.GetElement(m_element_handle)); } return(m_intersector.GetRedElement(m_intersector.GetHandleA())); }