mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
0030230: An optimal bounding box of a face is too large
Bug fixing Test case added
This commit is contained in:
parent
20f720f11b
commit
5f41ce6626
@ -671,7 +671,7 @@ Standard_Boolean IsModifySize(const BRepAdaptor_Surface& theBS,
|
|||||||
//
|
//
|
||||||
gp_Pnt2d aP2d(uextr, vextr);
|
gp_Pnt2d aP2d(uextr, vextr);
|
||||||
TopAbs_State aSt = theFClass.Perform(aP2d);
|
TopAbs_State aSt = theFClass.Perform(aP2d);
|
||||||
if(aSt == TopAbs_OUT)
|
if(aSt != TopAbs_IN)
|
||||||
{
|
{
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
|
14
tests/bugs/modalg_7/bug30230
Normal file
14
tests/bugs/modalg_7/bug30230
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "0030230: An optimal bounding box of a face is too large"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
|
||||||
|
restore [locate_data_file bug30230.brep] f
|
||||||
|
bounding f -optimal -save xmin ymin zmin xmax ymax zmax
|
||||||
|
|
||||||
|
checkreal xmin [dval xmin] -12659.707180220001 1.e-7 0
|
||||||
|
checkreal ymin [dval ymin] 3389.8415241848311 1.e-7 0
|
||||||
|
checkreal zmin [dval zmin] -100.01220790140377 1.e-7 0
|
||||||
|
checkreal xmax [dval xmax] -12027.91640874722 1.e-7 0
|
||||||
|
checkreal ymax [dval ymax] 3901.8916275309998 1.e-7 0
|
||||||
|
checkreal zmax [dval zmax] 1.0003384222321339e-007 1.e-7 0
|
Loading…
x
Reference in New Issue
Block a user