File indexing completed on 2026-07-24 09:16:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepOffset_Inter2d_HeaderFile
0018 #define _BRepOffset_Inter2d_HeaderFile
0019
0020 #include <TopTools_IndexedMapOfShape.hxx>
0021 #include <TopTools_DataMapOfShapeShape.hxx>
0022 #include <TopTools_DataMapOfShapeListOfShape.hxx>
0023 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
0024 #include <Message_ProgressRange.hxx>
0025
0026 class BRepAlgo_AsDes;
0027 class BRepAlgo_Image;
0028 class BRepOffset_Analyse;
0029 class BRepOffset_Offset;
0030 class TopoDS_Edge;
0031 class TopoDS_Face;
0032
0033
0034
0035 class BRepOffset_Inter2d
0036 {
0037 public:
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042
0043
0044
0045
0046 Standard_EXPORT static void Compute(const Handle(BRepAlgo_AsDes)& AsDes,
0047 const TopoDS_Face& F,
0048 const TopTools_IndexedMapOfShape& NewEdges,
0049 const Standard_Real Tol,
0050 const TopTools_DataMapOfShapeListOfShape& theEdgeIntEdges,
0051 TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0052 const Message_ProgressRange& theRange);
0053
0054
0055
0056
0057
0058
0059 Standard_EXPORT static Standard_Boolean ConnexIntByInt(
0060 const TopoDS_Face& FI,
0061 BRepOffset_Offset& OFI,
0062 TopTools_DataMapOfShapeShape& MES,
0063 const TopTools_DataMapOfShapeShape& Build,
0064 const Handle(BRepAlgo_AsDes)& theAsDes,
0065 const Handle(BRepAlgo_AsDes)& AsDes2d,
0066 const Standard_Real Offset,
0067 const Standard_Real Tol,
0068 const BRepOffset_Analyse& Analyse,
0069 TopTools_IndexedMapOfShape& FacesWithVerts,
0070 BRepAlgo_Image& theImageVV,
0071 TopTools_DataMapOfShapeListOfShape& theEdgeIntEdges,
0072 TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0073 const Message_ProgressRange& theRange);
0074
0075
0076
0077
0078
0079
0080
0081 Standard_EXPORT static void ConnexIntByIntInVert(
0082 const TopoDS_Face& FI,
0083 BRepOffset_Offset& OFI,
0084 TopTools_DataMapOfShapeShape& MES,
0085 const TopTools_DataMapOfShapeShape& Build,
0086 const Handle(BRepAlgo_AsDes)& AsDes,
0087 const Handle(BRepAlgo_AsDes)& AsDes2d,
0088 const Standard_Real Tol,
0089 const BRepOffset_Analyse& Analyse,
0090 TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0091 const Message_ProgressRange& theRange);
0092
0093
0094
0095
0096 Standard_EXPORT static Standard_Boolean FuseVertices(
0097 const TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0098 const Handle(BRepAlgo_AsDes)& theAsDes,
0099 BRepAlgo_Image& theImageVV);
0100
0101
0102 Standard_EXPORT static Standard_Boolean ExtentEdge(const TopoDS_Edge& E,
0103 TopoDS_Edge& NE,
0104 const Standard_Real theOffset);
0105 };
0106
0107 #endif