File indexing completed on 2025-01-18 10:05:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRep_DSFiller_HeaderFile
0018 #define _TopOpeBRep_DSFiller_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopOpeBRep_ShapeIntersector.hxx>
0025 #include <TopOpeBRep_ShapeIntersector2d.hxx>
0026 #include <TopOpeBRep_FacesFiller.hxx>
0027 #include <TopOpeBRep_EdgesFiller.hxx>
0028 #include <TopOpeBRep_FaceEdgeFiller.hxx>
0029 #include <TopOpeBRepTool_PShapeClassifier.hxx>
0030 class TopoDS_Shape;
0031 class TopOpeBRepDS_HDataStructure;
0032 class TopoDS_Face;
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046 class TopOpeBRep_DSFiller
0047 {
0048 public:
0049
0050 DEFINE_STANDARD_ALLOC
0051
0052
0053 Standard_EXPORT TopOpeBRep_DSFiller();
0054
0055 Standard_EXPORT ~TopOpeBRep_DSFiller();
0056
0057
0058
0059 Standard_EXPORT TopOpeBRepTool_PShapeClassifier PShapeClassifier() const;
0060
0061
0062
0063
0064
0065 Standard_EXPORT void Insert (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Handle(TopOpeBRepDS_HDataStructure)& HDS, const Standard_Boolean orientFORWARD = Standard_True);
0066
0067
0068
0069
0070
0071 Standard_EXPORT void InsertIntersection (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Handle(TopOpeBRepDS_HDataStructure)& HDS, const Standard_Boolean orientFORWARD = Standard_True);
0072
0073 Standard_EXPORT void Complete (const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0074
0075
0076
0077 Standard_EXPORT void Insert2d (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0078
0079
0080
0081
0082 Standard_EXPORT void InsertIntersection2d (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0083
0084 Standard_EXPORT Standard_Boolean IsMadeOf1d (const TopoDS_Shape& S) const;
0085
0086 Standard_EXPORT Standard_Boolean IsContext1d (const TopoDS_Shape& S) const;
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097 Standard_EXPORT void Insert1d (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const TopoDS_Face& F1, const TopoDS_Face& F2, const Handle(TopOpeBRepDS_HDataStructure)& HDS, const Standard_Boolean orientFORWARD = Standard_False);
0098
0099 Standard_EXPORT TopOpeBRep_ShapeIntersector& ChangeShapeIntersector();
0100
0101 Standard_EXPORT TopOpeBRep_ShapeIntersector2d& ChangeShapeIntersector2d();
0102
0103 Standard_EXPORT TopOpeBRep_FacesFiller& ChangeFacesFiller();
0104
0105 Standard_EXPORT TopOpeBRep_EdgesFiller& ChangeEdgesFiller();
0106
0107 Standard_EXPORT TopOpeBRep_FaceEdgeFiller& ChangeFaceEdgeFiller();
0108
0109 Standard_EXPORT void GapFiller (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0110
0111
0112
0113
0114
0115
0116 Standard_EXPORT void CompleteDS (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0117
0118 Standard_EXPORT void Filter (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0119
0120 Standard_EXPORT void Reducer (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0121
0122 Standard_EXPORT void RemoveUnsharedGeometry (const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0123
0124 Standard_EXPORT void Checker (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0125
0126
0127
0128
0129
0130
0131
0132
0133 Standard_EXPORT void CompleteDS2d (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
0134
0135
0136
0137
0138 protected:
0139
0140
0141
0142
0143
0144 private:
0145
0146
0147 Standard_EXPORT Standard_Boolean CheckInsert (const TopoDS_Shape& S1, const TopoDS_Shape& S2) const;
0148
0149 Standard_EXPORT Standard_Boolean ClearShapeSameDomain (const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0150
0151
0152 TopOpeBRep_ShapeIntersector myShapeIntersector;
0153 TopOpeBRep_ShapeIntersector2d myShapeIntersector2d;
0154 TopOpeBRep_FacesFiller myFacesFiller;
0155 TopOpeBRep_EdgesFiller myEdgesFiller;
0156 TopOpeBRep_FaceEdgeFiller myFaceEdgeFiller;
0157 TopOpeBRepTool_PShapeClassifier myPShapeClassifier;
0158
0159
0160 };
0161
0162
0163
0164
0165
0166
0167
0168 #endif