0020677: EDF 1219 GEOM: MinDistance gives 0 instead of value

This commit is contained in:
dmv 2010-10-08 07:33:29 +00:00
parent 45783147f0
commit 80140e06c4

View File

@ -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 =