]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Forward eps to the bbox computation during getCellsContainingPoints process.
authorageay <ageay>
Wed, 11 Dec 2013 14:23:05 +0000 (14:23 +0000)
committerageay <ageay>
Wed, 11 Dec 2013 14:23:05 +0000 (14:23 +0000)
src/MEDCoupling/MEDCouplingUMesh.cxx

index 0685848390d3dfb70bd563d7e7737d3270991965..d070522b48a43230530dc4f843c9ffd3ce5bd01f 100644 (file)
@@ -4197,7 +4197,7 @@ void MEDCouplingUMesh::getCellsContainingPointsAlg(const double *coords, const d
 {
   elts=DataArrayInt::New(); eltsIndex=DataArrayInt::New(); eltsIndex->alloc(nbOfPoints+1,1); eltsIndex->setIJ(0,0,0); elts->alloc(0,1);
   int *eltsIndexPtr(eltsIndex->getPointer());
-  MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> bboxArr(getBoundingBoxForBBTree());
+  MEDCouplingAutoRefCountObjectPtr<DataArrayDouble> bboxArr(getBoundingBoxForBBTree(eps));
   const double *bbox(bboxArr->begin());
   int nbOfCells=getNumberOfCells();
   const int *conn=_nodal_connec->getConstPointer();