Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 451406 | Differences between
and this patch

Collapse All | Expand All

(-)netgen-4.9.13_orig/libsrc/occ/Partition_Inter3d.cxx (-1 / +1 lines)
Lines 243-249 Link Here
243
      Standard_Integer i, nbExt = anExtPS.NbExt();
243
      Standard_Integer i, nbExt = anExtPS.NbExt();
244
      Extrema_POnSurf aPOnSurf;
244
      Extrema_POnSurf aPOnSurf;
245
      for (i = 1; i <= nbExt; ++i )
245
      for (i = 1; i <= nbExt; ++i )
246
        if (anExtPS.Value( i ) <= TolE) {
246
        if (anExtPS.SquareDistance( i ) <= TolE) {
247
          aPOnSurf = anExtPS.Point( i );
247
          aPOnSurf = anExtPS.Point( i );
248
          break;
248
          break;
249
        }
249
        }
(-)netgen-4.9.13_orig/libsrc/occ/Partition_Loop2d.cxx (-2 / +2 lines)
Lines 22-28 Link Here
22
#include <BRepAdaptor_Surface.hxx>
22
#include <BRepAdaptor_Surface.hxx>
23
#include <BRepAlgo_AsDes.hxx>
23
#include <BRepAlgo_AsDes.hxx>
24
#include <BRepAlgo_FaceRestrictor.hxx>
24
#include <BRepAlgo_FaceRestrictor.hxx>
25
#include <BRepOffset_DataMapOfShapeReal.hxx>
25
#include <TopTools_DataMapOfShapeReal.hxx>
26
#include <BRepTopAdaptor_FClass2d.hxx>
26
#include <BRepTopAdaptor_FClass2d.hxx>
27
#include <BRep_Builder.hxx>
27
#include <BRep_Builder.hxx>
28
#include <BRep_Tool.hxx>
28
#include <BRep_Tool.hxx>
Lines 519-525 Link Here
519
    DC.Initialize( DegEdge, F );
519
    DC.Initialize( DegEdge, F );
520
520
521
  // avoid intersecting twice the same edge
521
  // avoid intersecting twice the same edge
522
  BRepOffset_DataMapOfShapeReal EUMap ( EdgesList.Extent() );
522
  TopTools_DataMapOfShapeReal EUMap ( EdgesList.Extent() );
523
523
524
  Standard_Real U, f, l;
524
  Standard_Real U, f, l;
525
  BRep_Tool::Range (DegEdge, f, l);
525
  BRep_Tool::Range (DegEdge, f, l);
(-)netgen-4.9.13_orig/libsrc/occ/Partition_Spliter.cxx (-1 / +1 lines)
Lines 1169-1175 Link Here
1169
          for (; j<=nbj && ok; ++j) {
1169
          for (; j<=nbj && ok; ++j) {
1170
            if (Extrema.IsMin(j)) {
1170
            if (Extrema.IsMin(j)) {
1171
	      hasMin = Standard_True;
1171
	      hasMin = Standard_True;
1172
              ok = Extrema.Value(j) <= tol;
1172
              ok = Extrema.SquareDistance(j) <= tol;
1173
	    }
1173
	    }
1174
          }
1174
          }
1175
        }
1175
        }

Return to bug 451406