while (! st.empty())
{
e = (ValidateEntry) st.pop();
Region tmpRegion = (Region) m_infiniteRegion.clone();
for (int cDim = 0; cDim < m_dimension; cDim++)
{
tmpRegion.m_pLow[cDim] = Double.POSITIVE_INFINITY;
tmpRegion.m_pHigh[cDim] = Double.NEGATIVE_INFINITY;
for (int cChild = 0; cChild < e.m_pNode.m_children; cChild++)
{
tmpRegion.m_pLow[cDim] = Math.min(tmpRegion.m_pLow[cDim], e.m_pNode.m_pMBR[cChild].m_pLow[cDim]);
tmpRegion.m_pHigh[cDim] = Math.max(tmpRegion.m_pHigh[cDim], e.m_pNode.m_pMBR[cChild].m_pHigh[cDim]);
}
}
if (! (tmpRegion.equals(e.m_pNode.m_nodeMBR)))
{
System.err.println("Invalid parent information");
ret = false;
}
else if (! (tmpRegion.equals(e.m_parentMBR)))
{
System.err.println("Error in parent");
ret = false;
}