{
SMDS_MeshNode tgtNode( thePnt.X(), thePnt.Y(), thePnt.Z() );
list<const SMDS_MeshNode*> nodes;
- const double precision = 1e-6;
+ //const double precision = 1e-6;
//myOctreeNode->NodesAround( &tgtNode, &nodes, precision );
double minSqDist = DBL_MAX;
{
// iterate on through element and duplicate them (by nodes duplication)
bool res = false;
- const TIDSortedElemSet::iterator elemItr = theElems.begin();
+ TIDSortedElemSet::const_iterator elemItr = theElems.begin();
for ( ; elemItr != theElems.end(); ++elemItr )
{
const SMDS_MeshElement* anElem = *elemItr;
// iterates on indicated elements and get elements by back references from their nodes
TIDSortedElemSet anAffected;
- const TIDSortedElemSet::iterator elemItr = theElems.begin();
+ TIDSortedElemSet::const_iterator elemItr = theElems.begin();
for ( ; elemItr != theElems.end(); ++elemItr )
{
SMDS_MeshElement* anElem = (SMDS_MeshElement*)*elemItr;