0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_ProcessInterferencesTool.hxx
CommitLineData
b311480e 1// Created on: 1997-02-14
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1997-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#ifndef _TopOpeBRepDS_ProcessInterferencesTool_HeaderFile
18#define _TopOpeBRepDS_ProcessInterferencesTool_HeaderFile
19
20#include <TopOpeBRepDS_define.hxx>
21#include <TopOpeBRepDS_EXPORT.hxx>
22Standard_EXPORT Handle(TopOpeBRepDS_Interference) MakeCPVInterference
23(const TopOpeBRepDS_Transition& T, // transition
24 const Standard_Integer S, // curve/edge index
25 const Standard_Integer G, // point/vertex index
26 const Standard_Real P, // parameter of G on S
27 const TopOpeBRepDS_Kind GK); // POINT/VERTEX
28Standard_EXPORT Handle(TopOpeBRepDS_Interference) MakeEPVInterference
29(const TopOpeBRepDS_Transition& T, // transition
30 const Standard_Integer S, // curve/edge index
31 const Standard_Integer G, // point/vertex index
32 const Standard_Real P, // parameter of G on S
33 const TopOpeBRepDS_Kind GK,
34 const Standard_Boolean B); // G is a vertex (or not) of the interference master
35Standard_EXPORT Handle(TopOpeBRepDS_Interference) MakeEPVInterference
36(const TopOpeBRepDS_Transition& T, // transition
37 const Standard_Integer S, // curve/edge index
38 const Standard_Integer G, // point/vertex index
39 const Standard_Real P, // parameter of G on S
40 const TopOpeBRepDS_Kind GK, // POINT/VERTEX
41 const TopOpeBRepDS_Kind SK,
42 const Standard_Boolean B); // G is a vertex (or not) of the interference master
43Standard_EXPORT Standard_Boolean FUN_hasStateShape(const TopOpeBRepDS_Transition& T,const TopAbs_State state,const TopAbs_ShapeEnum shape);
44Standard_EXPORT Standard_Integer FUN_selectTRASHAinterference(TopOpeBRepDS_ListOfInterference& L1,const TopAbs_ShapeEnum sha,TopOpeBRepDS_ListOfInterference& L2);
45Standard_EXPORT Standard_Integer FUN_selectITRASHAinterference(TopOpeBRepDS_ListOfInterference& L1,const Standard_Integer Index, TopOpeBRepDS_ListOfInterference& L2);
46Standard_EXPORT Standard_Integer FUN_selectTRAUNKinterference(TopOpeBRepDS_ListOfInterference& L1,TopOpeBRepDS_ListOfInterference& L2);
47Standard_EXPORT Standard_Integer FUN_selectTRAORIinterference(TopOpeBRepDS_ListOfInterference& L1, const TopAbs_Orientation O, TopOpeBRepDS_ListOfInterference& L2);
48Standard_EXPORT Standard_Integer FUN_selectGKinterference(TopOpeBRepDS_ListOfInterference& L1,const TopOpeBRepDS_Kind GK,TopOpeBRepDS_ListOfInterference& L2);
49Standard_EXPORT Standard_Integer FUN_selectSKinterference(TopOpeBRepDS_ListOfInterference& L1,const TopOpeBRepDS_Kind SK,TopOpeBRepDS_ListOfInterference& L2);
50Standard_EXPORT Standard_Integer FUN_selectGIinterference(TopOpeBRepDS_ListOfInterference& L1,const Standard_Integer GI,TopOpeBRepDS_ListOfInterference& L2);
51Standard_EXPORT Standard_Integer FUN_selectSIinterference(TopOpeBRepDS_ListOfInterference& L1,const Standard_Integer SI,TopOpeBRepDS_ListOfInterference& L2);
52Standard_EXPORT Standard_Boolean FUN_interfhassupport(const TopOpeBRepDS_DataStructure& DS,const Handle(TopOpeBRepDS_Interference)& I,const TopoDS_Shape& S);
53Standard_EXPORT Standard_Boolean FUN_transitionEQUAL(const TopOpeBRepDS_Transition&,const TopOpeBRepDS_Transition&);
54Standard_EXPORT Standard_Boolean FUN_transitionSTATEEQUAL(const TopOpeBRepDS_Transition&,const TopOpeBRepDS_Transition&);
55Standard_EXPORT Standard_Boolean FUN_transitionSHAPEEQUAL(const TopOpeBRepDS_Transition&,const TopOpeBRepDS_Transition&);
56Standard_EXPORT Standard_Boolean FUN_transitionINDEXEQUAL(const TopOpeBRepDS_Transition&,const TopOpeBRepDS_Transition&);
57Standard_EXPORT void FUN_reducedoublons(TopOpeBRepDS_ListOfInterference& LI,const TopOpeBRepDS_DataStructure& BDS,const Standard_Integer SIX);
58Standard_EXPORT void FUN_unkeepUNKNOWN(TopOpeBRepDS_ListOfInterference& LI,TopOpeBRepDS_DataStructure& BDS,const Standard_Integer SIX);
59Standard_EXPORT Standard_Integer FUN_select2dI(const Standard_Integer SIX, TopOpeBRepDS_DataStructure& BDS,const TopAbs_ShapeEnum TRASHAk,TopOpeBRepDS_ListOfInterference& lI, TopOpeBRepDS_ListOfInterference& l2dI);
60Standard_EXPORT Standard_Integer FUN_selectpure2dI(const TopOpeBRepDS_ListOfInterference& lF, TopOpeBRepDS_ListOfInterference& lFE, TopOpeBRepDS_ListOfInterference& l2dFE);
61Standard_EXPORT Standard_Integer FUN_select1dI(const Standard_Integer SIX, TopOpeBRepDS_DataStructure& BDS,TopOpeBRepDS_ListOfInterference& LI,TopOpeBRepDS_ListOfInterference& l1dI);
62Standard_EXPORT void FUN_select3dinterference
63(const Standard_Integer SIX, TopOpeBRepDS_DataStructure& BDS,TopOpeBRepDS_ListOfInterference& lF, TopOpeBRepDS_ListOfInterference& l3dF,
64 TopOpeBRepDS_ListOfInterference& lFE,TopOpeBRepDS_ListOfInterference& lFEresi,TopOpeBRepDS_ListOfInterference& l3dFE, TopOpeBRepDS_ListOfInterference& l3dFEresi,
65 TopOpeBRepDS_ListOfInterference& l2dFE);
66#endif