mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028196: Modeling Data - Algorithm 'Extrema_GenLocateExtPS' failed to find the extremum in a case
Extrema_GenLocateExtPS.cxx, Extrema_GenLocateExtPS.hxx: Adjusting tolerances according to surface sizes is added. Additional methods for searching solution are added for cases if basic method fails. Extrema_FuncPSDist.cxx - small bug fixing. BRepFill_TrimShellCorner.cxx - fixing regression ChFi3d_Builder_CnCrn.cxx setting parameters for Plate algorithm to improve stability of solution ProjLib_ComputeApproxOnPolarSurface.cxx - code optimization Some test cases are modified according to current state of Extrema algorithm
This commit is contained in:
@@ -136,7 +136,7 @@ static Standard_Integer proj (Draw_Interpretor& di, Standard_Integer n, const ch
|
||||
const gp_XY aP2d(Draw::Atof(a[5]), Draw::Atof(a[6]));
|
||||
GeomAdaptor_Surface aGAS(GS);
|
||||
Extrema_GenLocateExtPS aProjector(aGAS, Precision::PConfusion(), Precision::PConfusion());
|
||||
aProjector.Perform(P, aP2d.X(), aP2d.Y());
|
||||
aProjector.Perform(P, aP2d.X(), aP2d.Y(), Standard_False);
|
||||
if (!aProjector.IsDone())
|
||||
{
|
||||
di << "projection failed.";
|
||||
|
Reference in New Issue
Block a user