0023134: EDF GEOM: Regression with getinplace

This commit is contained in:
skv 2015-09-02 13:53:03 +03:00
parent a8b4700b54
commit c744f39b39

View File

@ -182,7 +182,7 @@ Standard_Integer GEOMAlgo_GetInPlaceAPI::GetInPlaceOld
if (fabs(tab_aWhat[3] - tab_aWhere[3]) <= aMassTol && aPnt_aWhat.Distance(aPnt) <= aTolConf)
isFound = true;
else {
if ((tab_aWhat[3] - tab_aWhere[3]) > aMassTol) {
if (tab_aWhat[3] > tab_aWhere[3]) {
aPntShape = BRepBuilderAPI_MakeVertex( aPnt ).Shape();
aVertex = TopoDS::Vertex( aPntShape );
BRepExtrema_DistShapeShape aWhereDistance ( aVertex, Exp_aWhere.Current() );