File indexing completed on 2025-01-18 10:05:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepBuild_VertexInfo_HeaderFile
0018 #define _TopOpeBRepBuild_VertexInfo_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopoDS_Vertex.hxx>
0024 #include <TopoDS_Edge.hxx>
0025 #include <TopTools_IndexedMapOfOrientedShape.hxx>
0026 #include <TopTools_ListOfShape.hxx>
0027 #include <Standard_Integer.hxx>
0028
0029
0030
0031 class TopOpeBRepBuild_VertexInfo
0032 {
0033 public:
0034
0035 DEFINE_STANDARD_ALLOC
0036
0037
0038 Standard_EXPORT TopOpeBRepBuild_VertexInfo();
0039
0040 Standard_EXPORT void SetVertex (const TopoDS_Vertex& aV);
0041
0042 Standard_EXPORT const TopoDS_Vertex& Vertex() const;
0043
0044 Standard_EXPORT void SetSmart (const Standard_Boolean aFlag);
0045
0046 Standard_EXPORT Standard_Boolean Smart() const;
0047
0048 Standard_EXPORT Standard_Integer NbCases() const;
0049
0050 Standard_EXPORT Standard_Integer FoundOut() const;
0051
0052 Standard_EXPORT void AddIn (const TopoDS_Edge& anE);
0053
0054 Standard_EXPORT void AddOut (const TopoDS_Edge& anE);
0055
0056 Standard_EXPORT void SetCurrentIn (const TopoDS_Edge& anE);
0057
0058 Standard_EXPORT const TopTools_IndexedMapOfOrientedShape& EdgesIn() const;
0059
0060 Standard_EXPORT const TopTools_IndexedMapOfOrientedShape& EdgesOut() const;
0061
0062 Standard_EXPORT TopTools_IndexedMapOfOrientedShape& ChangeEdgesOut();
0063
0064 Standard_EXPORT void Dump() const;
0065
0066 Standard_EXPORT const TopoDS_Edge& CurrentOut();
0067
0068 Standard_EXPORT void AppendPassed (const TopoDS_Edge& anE);
0069
0070 Standard_EXPORT void RemovePassed();
0071
0072 Standard_EXPORT const TopTools_ListOfShape& ListPassed() const;
0073
0074 Standard_EXPORT void Prepare (const TopTools_ListOfShape& aL);
0075
0076
0077
0078
0079 protected:
0080
0081
0082
0083
0084
0085 private:
0086
0087
0088
0089 TopoDS_Vertex myVertex;
0090 TopoDS_Edge myCurrent;
0091 TopoDS_Edge myCurrentIn;
0092 Standard_Boolean mySmart;
0093 TopTools_IndexedMapOfOrientedShape myEdgesIn;
0094 TopTools_IndexedMapOfOrientedShape myEdgesOut;
0095 TopTools_IndexedMapOfOrientedShape myLocalEdgesOut;
0096 TopTools_ListOfShape myEdgesPassed;
0097 Standard_Integer myFoundOut;
0098
0099
0100 };
0101
0102
0103
0104
0105
0106
0107
0108 #endif