mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-06 03:44:17 +05:00
0020677: EDF 1219 GEOM: MinDistance gives 0 instead of value
This commit is contained in:
parent
45783147f0
commit
80140e06c4
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user