Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4578314
)
0020677: EDF 1219 GEOM: MinDistance gives 0 instead of value
author
dmv
<dmv@opencascade.com>
Fri, 8 Oct 2010 07:33:29 +0000
(07:33 +0000)
committer
dmv
<dmv@opencascade.com>
Fri, 8 Oct 2010 07:33:29 +0000
(07:33 +0000)
src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
b/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
index c62f4ac26d172c6401bc690ed89bd25844db4d56..d0ac43e7cd89e8b5f78151ae3c2bde92a23e3ae5 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
+++ b/
src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
@@
-1479,7
+1479,8
@@
static double CheckSingularCase(const TopoDS_Shape& aSh1,
if( sh.ShapeType()==TopAbs_SHELL || sh.ShapeType()==TopAbs_FACE ) {
// non solid case
double U1,U2,V1,V2;
- S->Bounds(U1,U2,V1,V2);
+ //S->Bounds(U1,U2,V1,V2);
+ ShapeAnalysis::GetFaceUVBounds(TopoDS::Face(tmpSh2),U1,U2,V1,V2);
Handle(Geom_RectangularTrimmedSurface) TrS1 =
new Geom_RectangularTrimmedSurface(S,U1,(U1+U2)/2.,V1,V2);
Handle(Geom_RectangularTrimmedSurface) TrS2 =