mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0027981: BRepExtrema_DistShapeShape returns not null distance on interfered shapes
The reason of the bug is bad start points on surfaces, which are used by searching roots algorithm as start points for iteration process. Starting with these points algorithm for searching roots of set of equations cannot reach correct root. To find correct start points increasing number of sampling points is applied.
This commit is contained in:
@@ -106,7 +106,7 @@ void Extrema_ExtSS::Perform(const Adaptor3d_Surface& S1,
|
||||
mySqDist.Clear();
|
||||
Standard_Integer i;
|
||||
GeomAbs_SurfaceType myS1type = S1.GetType();
|
||||
Standard_Integer NbU = 10, NbV = 10;
|
||||
const Standard_Integer NbU = 20, NbV = 20;
|
||||
|
||||
switch(myS1type) {
|
||||
|
||||
|
Reference in New Issue
Block a user