Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-23 09:19:24

0001 // Created on: 1997-02-14
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1997-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TopOpeBRepDS_ProcessInterferencesTool_HeaderFile
0018 #define _TopOpeBRepDS_ProcessInterferencesTool_HeaderFile
0019 
0020 #include <TopOpeBRepDS_EXPORT.hxx>
0021 Standard_EXPORT occ::handle<TopOpeBRepDS_Interference> MakeCPVInterference(
0022   const TopOpeBRepDS_Transition& T, // transition
0023   const int                      S, // curve/edge index
0024   const int                      G, // point/vertex index
0025   const double                   P, // parameter of G on S
0026   const TopOpeBRepDS_Kind        GK);      // POINT/VERTEX
0027 Standard_EXPORT occ::handle<TopOpeBRepDS_Interference> MakeEPVInterference(
0028   const TopOpeBRepDS_Transition& T, // transition
0029   const int                      S, // curve/edge index
0030   const int                      G, // point/vertex index
0031   const double                   P, // parameter of G on S
0032   const TopOpeBRepDS_Kind        GK,
0033   const bool                     B); // G is a vertex (or not) of the interference master
0034 Standard_EXPORT occ::handle<TopOpeBRepDS_Interference> MakeEPVInterference(
0035   const TopOpeBRepDS_Transition& T,  // transition
0036   const int                      S,  // curve/edge index
0037   const int                      G,  // point/vertex index
0038   const double                   P,  // parameter of G on S
0039   const TopOpeBRepDS_Kind        GK, // POINT/VERTEX
0040   const TopOpeBRepDS_Kind        SK,
0041   const bool                     B); // G is a vertex (or not) of the interference master
0042 Standard_EXPORT bool FUN_hasStateShape(const TopOpeBRepDS_Transition& T,
0043                                        const TopAbs_State             state,
0044                                        const TopAbs_ShapeEnum         shape);
0045 Standard_EXPORT int  FUN_selectTRASHAinterference(
0046    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0047    const TopAbs_ShapeEnum                                    sha,
0048    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0049 Standard_EXPORT int FUN_selectITRASHAinterference(
0050   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0051   const int                                                 Index,
0052   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0053 Standard_EXPORT int FUN_selectTRAUNKinterference(
0054   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0055   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0056 Standard_EXPORT int FUN_selectTRAORIinterference(
0057   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0058   const TopAbs_Orientation                                  O,
0059   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0060 Standard_EXPORT int FUN_selectGKinterference(
0061   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0062   const TopOpeBRepDS_Kind                                   GK,
0063   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0064 Standard_EXPORT int FUN_selectSKinterference(
0065   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0066   const TopOpeBRepDS_Kind                                   SK,
0067   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0068 Standard_EXPORT int FUN_selectGIinterference(
0069   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0070   const int                                                 GI,
0071   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0072 Standard_EXPORT int FUN_selectSIinterference(
0073   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L1,
0074   const int                                                 SI,
0075   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L2);
0076 Standard_EXPORT bool FUN_interfhassupport(const TopOpeBRepDS_DataStructure&             DS,
0077                                           const occ::handle<TopOpeBRepDS_Interference>& I,
0078                                           const TopoDS_Shape&                           S);
0079 Standard_EXPORT bool FUN_transitionEQUAL(const TopOpeBRepDS_Transition&,
0080                                          const TopOpeBRepDS_Transition&);
0081 Standard_EXPORT bool FUN_transitionSTATEEQUAL(const TopOpeBRepDS_Transition&,
0082                                               const TopOpeBRepDS_Transition&);
0083 Standard_EXPORT bool FUN_transitionSHAPEEQUAL(const TopOpeBRepDS_Transition&,
0084                                               const TopOpeBRepDS_Transition&);
0085 Standard_EXPORT bool FUN_transitionINDEXEQUAL(const TopOpeBRepDS_Transition&,
0086                                               const TopOpeBRepDS_Transition&);
0087 Standard_EXPORT void FUN_reducedoublons(
0088   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& LI,
0089   const TopOpeBRepDS_DataStructure&                         BDS,
0090   const int                                                 SIX);
0091 Standard_EXPORT void FUN_unkeepUNKNOWN(NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& LI,
0092                                        TopOpeBRepDS_DataStructure& BDS,
0093                                        const int                   SIX);
0094 Standard_EXPORT int  FUN_select2dI(const int                                                 SIX,
0095                                    TopOpeBRepDS_DataStructure&                               BDS,
0096                                    const TopAbs_ShapeEnum                                    TRASHAk,
0097                                    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& lI,
0098                                    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l2dI);
0099 Standard_EXPORT int  FUN_selectpure2dI(
0100    const NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& lF,
0101    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>&       lFE,
0102    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>&       l2dFE);
0103 Standard_EXPORT int  FUN_select1dI(const int                                                 SIX,
0104                                    TopOpeBRepDS_DataStructure&                               BDS,
0105                                    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& LI,
0106                                    NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l1dI);
0107 Standard_EXPORT void FUN_select3dinterference(
0108   const int                                                 SIX,
0109   TopOpeBRepDS_DataStructure&                               BDS,
0110   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& lF,
0111   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l3dF,
0112   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& lFE,
0113   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& lFEresi,
0114   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l3dFE,
0115   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l3dFEresi,
0116   NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& l2dFE);
0117 #endif