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_EdgesFiller_HeaderFile
0018 #define _TopOpeBRep_EdgesFiller_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Edge.hxx>
0025 #include <TopoDS_Face.hxx>
0026 #include <TopOpeBRepDS_PDataStructure.hxx>
0027 #include <TopOpeBRep_PEdgesIntersector.hxx>
0028 #include <Standard_Integer.hxx>
0029 #include <TopOpeBRepDS_ListIteratorOfListOfInterference.hxx>
0030 #include <TopOpeBRepDS_Kind.hxx>
0031 #include <TopOpeBRepDS_Config.hxx>
0032 class TopOpeBRepDS_HDataStructure;
0033 class TopoDS_Shape;
0034 class TopOpeBRep_Point2d;
0035 class TopOpeBRepDS_Transition;
0036 class TopOpeBRepDS_Interference;
0037
0038
0039
0040
0041 class TopOpeBRep_EdgesFiller
0042 {
0043 public:
0044
0045 DEFINE_STANDARD_ALLOC
0046
0047
0048 Standard_EXPORT TopOpeBRep_EdgesFiller();
0049
0050 Standard_EXPORT void Insert (const TopoDS_Shape& E1, const TopoDS_Shape& E2, TopOpeBRep_EdgesIntersector& EI, const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0051
0052 Standard_EXPORT void Face (const Standard_Integer I, const TopoDS_Shape& F);
0053
0054 Standard_EXPORT const TopoDS_Shape& Face (const Standard_Integer I) const;
0055
0056
0057
0058
0059 protected:
0060
0061
0062
0063
0064
0065 private:
0066
0067
0068 Standard_EXPORT Standard_Boolean GetGeometry (TopOpeBRepDS_ListIteratorOfListOfInterference& IT, const TopOpeBRep_Point2d& P, Standard_Integer& G, TopOpeBRepDS_Kind& K) const;
0069
0070 Standard_EXPORT Standard_Boolean MakeGeometry (const TopOpeBRep_Point2d& P, Standard_Integer& G, TopOpeBRepDS_Kind& K) const;
0071
0072 Standard_EXPORT void SetShapeTransition (const TopOpeBRep_Point2d& P, TopOpeBRepDS_Transition& T1, TopOpeBRepDS_Transition& T2) const;
0073
0074 Standard_EXPORT Handle(TopOpeBRepDS_Interference) StorePI (const TopOpeBRep_Point2d& P, const TopOpeBRepDS_Transition& T, const Standard_Integer EI, const Standard_Integer PI, const Standard_Real p, const Standard_Integer IE);
0075
0076 Standard_EXPORT Handle(TopOpeBRepDS_Interference) StoreVI (const TopOpeBRep_Point2d& P, const TopOpeBRepDS_Transition& T, const Standard_Integer EI, const Standard_Integer VI, const Standard_Boolean VB, const TopOpeBRepDS_Config C, const Standard_Real p, const Standard_Integer IE);
0077
0078 Standard_EXPORT Standard_Boolean ToRecompute (const TopOpeBRep_Point2d& P, const Handle(TopOpeBRepDS_Interference)& I, const Standard_Integer IEmother);
0079
0080 Standard_EXPORT void StoreRecompute (const Handle(TopOpeBRepDS_Interference)& I, const Standard_Integer IEmother);
0081
0082 Standard_EXPORT void RecomputeInterferences (const TopoDS_Edge& E, TopOpeBRepDS_ListOfInterference& LOI);
0083
0084
0085 TopoDS_Edge myE1;
0086 TopoDS_Edge myE2;
0087 TopoDS_Face myF1;
0088 TopoDS_Face myF2;
0089 Handle(TopOpeBRepDS_HDataStructure) myHDS;
0090 TopOpeBRepDS_PDataStructure myPDS;
0091 TopOpeBRep_PEdgesIntersector myPEI;
0092 TopOpeBRepDS_ListOfInterference myLI1;
0093 TopOpeBRepDS_ListOfInterference myLI2;
0094
0095
0096 };
0097
0098
0099
0100
0101
0102
0103
0104 #endif