Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
23620: EDF 10301 - Completing Extrusion along a path
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_MeshAlgos.cxx
diff --git
a/src/SMESHUtils/SMESH_MeshAlgos.cxx
b/src/SMESHUtils/SMESH_MeshAlgos.cxx
index 6cd891ccc544fe572f8150f136fb203a9625c0e6..52d7d5415d51943f7b26b5ec4db8e646590a6593 100644
(file)
--- a/
src/SMESHUtils/SMESH_MeshAlgos.cxx
+++ b/
src/SMESHUtils/SMESH_MeshAlgos.cxx
@@
-1764,7
+1764,7
@@
double SMESH_MeshAlgos::GetDistance( const SMDS_MeshVolume* volume,
!vTool.GetFaceBaryCenter( iF, bc[0], bc[1], bc[2] ))
continue;
gp_XYZ bcp = point.XYZ() - gp_XYZ( bc[0], bc[1], bc[2] );
!vTool.GetFaceBaryCenter( iF, bc[0], bc[1], bc[2] ))
continue;
gp_XYZ bcp = point.XYZ() - gp_XYZ( bc[0], bc[1], bc[2] );
- if ( gp_XYZ( n[0], n[1], n[2] ) * bcp <
1e-6
)
+ if ( gp_XYZ( n[0], n[1], n[2] ) * bcp <
-1e-12
)
continue;
// find distance to a facet
continue;
// find distance to a facet