1 // Copyright (c) 1997-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
16 #include <TopOpeBRepDS_EIR.hxx>
17 #include <TopOpeBRepDS_EXPORT.hxx>
18 #include <TopOpeBRepDS_FIR.hxx>
19 #include <TopOpeBRepDS_HDataStructure.hxx>
20 #include <TopOpeBRepDS_Reducer.hxx>
22 //=======================================================================
23 //function : TopOpeBRepDS_Reducer
25 //=======================================================================
26 TopOpeBRepDS_Reducer::TopOpeBRepDS_Reducer
27 (const Handle(TopOpeBRepDS_HDataStructure)& HDS) : myHDS(HDS)
30 //=======================================================================
31 //function : ProcessEdgeInterferences
33 //=======================================================================
34 void TopOpeBRepDS_Reducer::ProcessEdgeInterferences()
36 TopOpeBRepDS_EIR eir(myHDS);
37 eir.ProcessEdgeInterferences();
40 //=======================================================================
41 //function : ProcessFaceInterferences
43 //=======================================================================
44 void TopOpeBRepDS_Reducer::ProcessFaceInterferences
45 (const TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State& M)
47 //modified by NIZHNY-MZV Tue Nov 16 16:12:15 1999
48 //FUN_ds_FEIGb1TO0(myHDS,M); //xpu250199
50 TopOpeBRepDS_FIR fir(myHDS);
51 fir.ProcessFaceInterferences(M);