File indexing completed on 2026-09-16 09:19:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepTool_HeaderFile
0018 #define _TopOpeBRepTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Boolean.hxx>
0025 #include <TopoDS_Shape.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TopTools_ShapeMapHasher.hxx>
0028 #include <NCollection_DataMap.hxx>
0029 #include <NCollection_IndexedMap.hxx>
0030 #include <NCollection_List.hxx>
0031 #include <Standard_OStream.hxx>
0032 #include <TopOpeBRepTool_OutCurveType.hxx>
0033 class TopoDS_Face;
0034 class TopoDS_Solid;
0035
0036
0037
0038
0039 class TopOpeBRepTool
0040 {
0041 public:
0042 DEFINE_STANDARD_ALLOC
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054 Standard_EXPORT static bool PurgeClosingEdges(
0055 const TopoDS_Face& F,
0056 const TopoDS_Face& FF,
0057 const NCollection_DataMap<TopoDS_Shape, int, TopTools_ShapeMapHasher>& MWisOld,
0058 NCollection_IndexedMap<TopoDS_Shape>& MshNOK);
0059
0060 Standard_EXPORT static bool PurgeClosingEdges(
0061 const TopoDS_Face& F,
0062 const NCollection_List<TopoDS_Shape>& LOF,
0063 const NCollection_DataMap<TopoDS_Shape, int, TopTools_ShapeMapHasher>& MWisOld,
0064 NCollection_IndexedMap<TopoDS_Shape>& MshNOK);
0065
0066 Standard_EXPORT static bool CorrectONUVISO(const TopoDS_Face& F, TopoDS_Face& Fsp);
0067
0068
0069
0070
0071
0072 Standard_EXPORT static bool MakeFaces(const TopoDS_Face& F,
0073 const NCollection_List<TopoDS_Shape>& LOF,
0074 const NCollection_IndexedMap<TopoDS_Shape>& MshNOK,
0075 NCollection_List<TopoDS_Shape>& LOFF);
0076
0077
0078
0079
0080
0081
0082 Standard_EXPORT static bool Regularize(
0083 const TopoDS_Face& aFace,
0084 NCollection_List<TopoDS_Shape>& aListOfFaces,
0085 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0086 ESplits);
0087
0088
0089
0090
0091
0092
0093
0094 Standard_EXPORT static bool RegularizeWires(
0095 const TopoDS_Face& aFace,
0096 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0097 OldWiresNewWires,
0098 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0099 ESplits);
0100
0101
0102
0103 Standard_EXPORT static bool RegularizeFace(
0104 const TopoDS_Face& aFace,
0105 const NCollection_DataMap<TopoDS_Shape,
0106 NCollection_List<TopoDS_Shape>,
0107 TopTools_ShapeMapHasher>& OldWiresnewWires,
0108 NCollection_List<TopoDS_Shape>& aListOfFaces);
0109
0110
0111
0112
0113
0114 Standard_EXPORT static bool RegularizeShells(
0115 const TopoDS_Solid& aSolid,
0116 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0117 OldSheNewShe,
0118 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0119 FSplits);
0120
0121
0122 Standard_EXPORT static Standard_OStream& Print(const TopOpeBRepTool_OutCurveType OCT,
0123 Standard_OStream& S);
0124 };
0125
0126 #endif