File indexing completed on 2025-01-18 10:03:15
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
0039 DEFINE_STANDARD_ALLOC
0040
0041
0042
0043
0044
0045
0046
0047
0048 Standard_EXPORT static void Compute (const Handle(BRepAlgo_AsDes)& AsDes,
0049 const TopoDS_Face& F,
0050 const TopTools_IndexedMapOfShape& NewEdges,
0051 const Standard_Real Tol,
0052 const TopTools_DataMapOfShapeListOfShape& theEdgeIntEdges,
0053 TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0054 const Message_ProgressRange& theRange);
0055
0056
0057
0058
0059
0060
0061 Standard_EXPORT static Standard_Boolean ConnexIntByInt (const TopoDS_Face& FI,
0062 BRepOffset_Offset& OFI,
0063 TopTools_DataMapOfShapeShape& MES,
0064 const TopTools_DataMapOfShapeShape& Build,
0065 const Handle(BRepAlgo_AsDes)& theAsDes,
0066 const Handle(BRepAlgo_AsDes)& AsDes2d,
0067 const Standard_Real Offset,
0068 const Standard_Real Tol,
0069 const BRepOffset_Analyse& Analyse,
0070 TopTools_IndexedMapOfShape& FacesWithVerts,
0071 BRepAlgo_Image& theImageVV,
0072 TopTools_DataMapOfShapeListOfShape& theEdgeIntEdges,
0073 TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0074 const Message_ProgressRange& theRange);
0075
0076
0077
0078
0079
0080
0081
0082 Standard_EXPORT static void ConnexIntByIntInVert (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 (const TopTools_IndexedDataMapOfShapeListOfShape& theDMVV,
0097 const Handle(BRepAlgo_AsDes)& theAsDes,
0098 BRepAlgo_Image& theImageVV);
0099
0100
0101 Standard_EXPORT static Standard_Boolean ExtentEdge (const TopoDS_Edge& E,
0102 TopoDS_Edge& NE,
0103 const Standard_Real theOffset);
0104
0105 };
0106
0107 #endif