File indexing completed on 2025-01-18 10:05:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepDS_GapFiller_HeaderFile
0018 #define _TopOpeBRepDS_GapFiller_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopOpeBRepDS_ListOfInterference.hxx>
0025 #include <TColStd_MapOfInteger.hxx>
0026 class TopOpeBRepDS_HDataStructure;
0027 class TopOpeBRepDS_GapTool;
0028 class TopOpeBRepDS_Association;
0029 class TopOpeBRepDS_Interference;
0030 class TopoDS_Shape;
0031 class TopoDS_Face;
0032 class TopoDS_Edge;
0033
0034
0035
0036 class TopOpeBRepDS_GapFiller
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043 Standard_EXPORT TopOpeBRepDS_GapFiller(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0044
0045 Standard_EXPORT void Perform();
0046
0047
0048
0049 Standard_EXPORT void FindAssociatedPoints (const Handle(TopOpeBRepDS_Interference)& I, TopOpeBRepDS_ListOfInterference& LI);
0050
0051
0052
0053
0054
0055 Standard_EXPORT Standard_Boolean CheckConnexity (TopOpeBRepDS_ListOfInterference& LI);
0056
0057 Standard_EXPORT void AddPointsOnShape (const TopoDS_Shape& S, TopOpeBRepDS_ListOfInterference& LI);
0058
0059
0060
0061 Standard_EXPORT void AddPointsOnConnexShape (const TopoDS_Shape& F, const TopOpeBRepDS_ListOfInterference& LI);
0062
0063 Standard_EXPORT void FilterByFace (const TopoDS_Face& F, TopOpeBRepDS_ListOfInterference& LI);
0064
0065 Standard_EXPORT void FilterByEdge (const TopoDS_Edge& E, TopOpeBRepDS_ListOfInterference& LI);
0066
0067 Standard_EXPORT void FilterByIncidentDistance (const TopoDS_Face& F, const Handle(TopOpeBRepDS_Interference)& I, TopOpeBRepDS_ListOfInterference& LI);
0068
0069
0070
0071 Standard_EXPORT Standard_Boolean IsOnFace (const Handle(TopOpeBRepDS_Interference)& I, const TopoDS_Face& F) const;
0072
0073
0074
0075
0076
0077 Standard_EXPORT Standard_Boolean IsOnEdge (const Handle(TopOpeBRepDS_Interference)& I, const TopoDS_Edge& E) const;
0078
0079 Standard_EXPORT void BuildNewGeometries();
0080
0081 Standard_EXPORT void ReBuildGeom (const Handle(TopOpeBRepDS_Interference)& I1, TColStd_MapOfInteger& Done);
0082
0083
0084
0085
0086 protected:
0087
0088
0089
0090
0091
0092 private:
0093
0094
0095
0096 Handle(TopOpeBRepDS_HDataStructure) myHDS;
0097 Handle(TopOpeBRepDS_GapTool) myGapTool;
0098 Handle(TopOpeBRepDS_Association) myAsso;
0099
0100
0101 };
0102
0103
0104
0105
0106
0107
0108
0109 #endif