1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0024400: Wrong result obtained by Section

Changes:
class IntTools_FaceFace
- static function:
void CorrectSurfaceBoundaries(const TopoDS_Face&  theFace,
			       const Standard_Real theTolerance,
			       Standard_Real&      theumin,
			       Standard_Real&      theumax,
			       Standard_Real&      thevmin,
			       Standard_Real&      thevmax)

Remove unnecessary broadening of UV-bounds for the faces based on the sperical surfaces.

Test case for issue CR24400
This commit is contained in:
pdn
2013-11-28 11:10:10 +04:00
committed by bugmaster
parent c4edd925fd
commit ebeff0a2bc
3 changed files with 25 additions and 10 deletions

View File

@@ -2638,15 +2638,6 @@ Handle(Geom2d_BSplineCurve) MakeBSpline2d(const Handle(IntPatch_WLine)& theWLine
enlarge=Standard_True;
}
//
if (aType==GeomAbs_Sphere) {
Standard_Real dV;
//
dV=thevmax-thevmin;
if (dV+delta<M_PI) {
enlarge=Standard_True;
}
}
//
if(!isuperiodic && enlarge) {
if((theumin - uinf) > delta )