File indexing completed on 2026-10-05 09:24:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepTool_2d_HeaderFile
0018 #define _TopOpeBRepTool_2d_HeaderFile
0019 #include <Geom2d_Curve.hxx>
0020 #include <TopAbs_ShapeEnum.hxx>
0021 #include <TopAbs_Orientation.hxx>
0022 #include <TopAbs_State.hxx>
0023 #include <TopoDS_Shape.hxx>
0024 #include <TopTools_ShapeMapHasher.hxx>
0025 #include <NCollection_Map.hxx>
0026 #include <NCollection_List.hxx>
0027 #include <NCollection_IndexedMap.hxx>
0028 #include <NCollection_DataMap.hxx>
0029 #include <Standard_Integer.hxx>
0030 #include <NCollection_IndexedDataMap.hxx>
0031 #include <TopoDS_Face.hxx>
0032 #include <TopoDS_Edge.hxx>
0033 #include <TopoDS_Vertex.hxx>
0034 #include <TCollection_AsciiString.hxx>
0035
0036 Standard_EXPORT int FC2D_Prepare(const TopoDS_Shape& S1, const TopoDS_Shape& S2);
0037 Standard_EXPORT bool FC2D_HasC3D(const TopoDS_Edge& E);
0038 Standard_EXPORT bool FC2D_HasCurveOnSurface(const TopoDS_Edge& E, const TopoDS_Face& F);
0039 Standard_EXPORT bool FC2D_HasOldCurveOnSurface(const TopoDS_Edge& E,
0040 const TopoDS_Face& F,
0041 occ::handle<Geom2d_Curve>& C2D,
0042 double& f,
0043 double& l,
0044 double& tol);
0045 Standard_EXPORT bool FC2D_HasOldCurveOnSurface(const TopoDS_Edge& E,
0046 const TopoDS_Face& F,
0047 occ::handle<Geom2d_Curve>& C2D);
0048 Standard_EXPORT bool FC2D_HasNewCurveOnSurface(const TopoDS_Edge& E,
0049 const TopoDS_Face& F,
0050 occ::handle<Geom2d_Curve>& C2D,
0051 double& f,
0052 double& l,
0053 double& tol);
0054 Standard_EXPORT bool FC2D_HasNewCurveOnSurface(const TopoDS_Edge& E,
0055 const TopoDS_Face& F,
0056 occ::handle<Geom2d_Curve>& C2D);
0057 Standard_EXPORT occ::handle<Geom2d_Curve> FC2D_CurveOnSurface(const TopoDS_Edge& E,
0058 const TopoDS_Face& F,
0059 double& f,
0060 double& l,
0061 double& tol,
0062 const bool trim3d = false);
0063 Standard_EXPORT occ::handle<Geom2d_Curve> FC2D_CurveOnSurface(const TopoDS_Edge& E,
0064 const TopoDS_Face& F,
0065 const TopoDS_Edge& EF,
0066 double& f,
0067 double& l,
0068 double& tol,
0069 const bool trim3d = false);
0070
0071 Standard_EXPORT occ::handle<Geom2d_Curve> FC2D_MakeCurveOnSurface(const TopoDS_Edge& E,
0072 const TopoDS_Face& F,
0073 double& f,
0074 double& l,
0075 double& tol,
0076 const bool trim3d = false);
0077 Standard_EXPORT occ::handle<Geom2d_Curve> FC2D_EditableCurveOnSurface(const TopoDS_Edge& E,
0078 const TopoDS_Face& F,
0079 double& f,
0080 double& l,
0081 double& tol,
0082 const bool trim3d = false);
0083 Standard_EXPORT int FC2D_AddNewCurveOnSurface(const occ::handle<Geom2d_Curve>& PC,
0084 const TopoDS_Edge& E,
0085 const TopoDS_Face& F,
0086 const double& f,
0087 const double& l,
0088 const double& tol);
0089 #endif