File indexing completed on 2026-10-27 09:39:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _ShapeFix_SplitTool_HeaderFile
0017 #define _ShapeFix_SplitTool_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <TopoDS_Shape.hxx>
0024 #include <NCollection_Sequence.hxx>
0025 #include <Standard_Integer.hxx>
0026 class TopoDS_Edge;
0027 class TopoDS_Vertex;
0028 class TopoDS_Face;
0029 class ShapeBuild_ReShape;
0030
0031
0032
0033 class ShapeFix_SplitTool
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT ShapeFix_SplitTool();
0040
0041
0042
0043
0044 Standard_EXPORT bool SplitEdge(const TopoDS_Edge& edge,
0045 const double param,
0046 const TopoDS_Vertex& vert,
0047 const TopoDS_Face& face,
0048 TopoDS_Edge& newE1,
0049 TopoDS_Edge& newE2,
0050 const double tol3d,
0051 const double tol2d) const;
0052
0053
0054
0055
0056 Standard_EXPORT bool SplitEdge(const TopoDS_Edge& edge,
0057 const double param1,
0058 const double param2,
0059 const TopoDS_Vertex& vert,
0060 const TopoDS_Face& face,
0061 TopoDS_Edge& newE1,
0062 TopoDS_Edge& newE2,
0063 const double tol3d,
0064 const double tol2d) const;
0065
0066
0067 Standard_EXPORT bool CutEdge(const TopoDS_Edge& edge,
0068 const double pend,
0069 const double cut,
0070 const TopoDS_Face& face,
0071 bool& iscutline) const;
0072
0073
0074
0075
0076
0077 Standard_EXPORT bool SplitEdge(const TopoDS_Edge& edge,
0078 const double fp,
0079 const TopoDS_Vertex& V1,
0080 const double lp,
0081 const TopoDS_Vertex& V2,
0082 const TopoDS_Face& face,
0083 NCollection_Sequence<TopoDS_Shape>& SeqE,
0084 int& aNum,
0085 const occ::handle<ShapeBuild_ReShape>& context,
0086 const double tol3d,
0087 const double tol2d) const;
0088 };
0089
0090 #endif