mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027466: The algorithm Extrema_GenLocateExtPS gives incorrect result
Euclidean distance criteria is added for local point / surface extrema. Classes representing objective criteria are renamed to be consistent. Local extrema usage is updated according to new behavior. Test case is added. Misprint correction.
This commit is contained in:
@@ -2782,9 +2782,8 @@ static Standard_Boolean DecomposeResult(const Handle(IntPatch_PointLine)& theLin
|
||||
|
||||
theQSurf->D0(aUquad, aVquad, aPQuad);
|
||||
|
||||
Extrema_GenLocateExtPS anExtr(aPQuad, thePSurf->Surface(), aU0, aV0,
|
||||
Precision::PConfusion(),
|
||||
Precision::PConfusion());
|
||||
Extrema_GenLocateExtPS anExtr(thePSurf->Surface());
|
||||
anExtr.Perform(aPQuad, aU0, aV0);
|
||||
|
||||
if(!anExtr.IsDone())
|
||||
{
|
||||
@@ -2946,9 +2945,8 @@ static Standard_Boolean DecomposeResult(const Handle(IntPatch_PointLine)& theLin
|
||||
|
||||
theQSurf->D0(aUquad, aVquad, aPQuad);
|
||||
|
||||
Extrema_GenLocateExtPS anExtr(aPQuad, thePSurf->Surface(), aU0, aV0,
|
||||
Precision::PConfusion(),
|
||||
Precision::PConfusion());
|
||||
Extrema_GenLocateExtPS anExtr(thePSurf->Surface());
|
||||
anExtr.Perform(aPQuad, aU0, aV0);
|
||||
|
||||
if(!anExtr.IsDone())
|
||||
{
|
||||
|
Reference in New Issue
Block a user