mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024899: Time of computation of intersection points with help of class BRepIntCurveSurface_Inter is big.
Sorting by intersection of bounding boxes of faces with line or box built for curve was added. Recursive call method Find() was replaced on sequential call. Added method Init to initialize algorithm by separate curve for intersection of shape by multiple curves. Added possibility to intersect shape by multiple curves in DRAW command. Added test case bugs/modalg_5/bug24899
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
#include <TopExp.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
|
||||
#ifdef DRAW
|
||||
#include <DrawTrSurf.hxx>
|
||||
@@ -434,7 +435,7 @@ Standard_Boolean BRepFill_TrimSurfaceTool::IsOnFace
|
||||
|
||||
// eval if is on face 1
|
||||
// modified by NIZHNY-EAP Fri Jan 21 09:49:09 2000 ___BEGIN___
|
||||
Inter.Init(myFace1, Line, 1e-6);//Precision::PConfusion());
|
||||
Inter.Init(myFace1, Line,1e-6);//Precision::PConfusion());
|
||||
if (Inter.More()) return Standard_True;
|
||||
|
||||
// eval if is on face 2
|
||||
|
Reference in New Issue
Block a user