_ebbTree[i] = NULL;
_ebbTreeHeight[i] = -1;
}
+ _elementType = SMDSAbs_All;
}
virtual ~SMESH_ElementSearcherImpl()
{
outerFace2 = angle2Face.begin()->second;
}
}
- // store the found outer face and add its links to continue seaching from
+ // store the found outer face and add its links to continue searching from
if ( outerFace2 )
{
_outerFaces.insert( outerFace2 );
TopAbs_State SMESH_ElementSearcherImpl::GetPointState(const gp_Pnt& point)
{
- double tolerance = getTolerance();
-
_elementType = SMDSAbs_Face;
+ double tolerance = getTolerance();
+
ElementBndBoxTree*& ebbTree = _ebbTree[ SMDSAbs_Face ];
if ( !ebbTree )
ebbTree = new ElementBndBoxTree( *_mesh, _elementType, _meshPartIt );