Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:27

0001 // Copyright (c) 1997-1999 Matra Datavision
0002 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0003 //
0004 // This file is part of Open CASCADE Technology software library.
0005 //
0006 // This library is free software; you can redistribute it and/or modify it under
0007 // the terms of the GNU Lesser General Public License version 2.1 as published
0008 // by the Free Software Foundation, with special exception defined in the file
0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0010 // distribution for complete text of the license and disclaimer of any warranty.
0011 //
0012 // Alternatively, this file may be used under the terms of Open CASCADE
0013 // commercial license or contractual agreement.
0014 
0015 #ifndef _TopOpeBRepDS_Reducer_HeaderFile
0016 #define _TopOpeBRepDS_Reducer_HeaderFile
0017 
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 #include <Standard_Handle.hxx>
0021 
0022 #include <TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State.hxx>
0023 class TopOpeBRepDS_HDataStructure;
0024 
0025 
0026 //! reduce interferences of a data structure (HDS)
0027 //! used in topological operations.
0028 class TopOpeBRepDS_Reducer 
0029 {
0030 public:
0031 
0032   DEFINE_STANDARD_ALLOC
0033 
0034   
0035   Standard_EXPORT TopOpeBRepDS_Reducer(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0036   
0037   Standard_EXPORT void ProcessFaceInterferences (const TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State& M);
0038   
0039   Standard_EXPORT void ProcessEdgeInterferences();
0040 
0041 
0042 
0043 
0044 protected:
0045 
0046 
0047 
0048 
0049 
0050 private:
0051 
0052 
0053 
0054   Handle(TopOpeBRepDS_HDataStructure) myHDS;
0055 
0056 
0057 };
0058 
0059 
0060 
0061 
0062 
0063 
0064 
0065 #endif // _TopOpeBRepDS_Reducer_HeaderFile