File indexing completed on 2026-09-18 09:22:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepTool_GEOMETRY_HeaderFile
0018 #define _TopOpeBRepTool_GEOMETRY_HeaderFile
0019
0020 #include <TopAbs_ShapeEnum.hxx>
0021
0022 #include <TopAbs_Orientation.hxx>
0023
0024 #include <TopAbs_State.hxx>
0025
0026 #include <TopoDS_Shape.hxx>
0027
0028 #include <TopTools_ShapeMapHasher.hxx>
0029
0030 #include <NCollection_Map.hxx>
0031
0032 #include <NCollection_List.hxx>
0033
0034 #include <NCollection_IndexedMap.hxx>
0035
0036 #include <NCollection_DataMap.hxx>
0037
0038 #include <Standard_Integer.hxx>
0039
0040 #include <NCollection_IndexedDataMap.hxx>
0041
0042 #include <TopoDS_Face.hxx>
0043
0044 #include <TopoDS_Edge.hxx>
0045
0046 #include <TopoDS_Vertex.hxx>
0047
0048 #include <TCollection_AsciiString.hxx>
0049
0050 #include <GeomAbs_CurveType.hxx>
0051 #include <Geom2d_Curve.hxx>
0052 #include <Geom_Surface.hxx>
0053 #include <gp_Dir.hxx>
0054 #include <gp_Dir2d.hxx>
0055 #include <Bnd_Box2d.hxx>
0056
0057 Standard_EXPORT occ::handle<Geom2d_Curve> BASISCURVE2D(const occ::handle<Geom2d_Curve>& C);
0058
0059
0060 Standard_EXPORT gp_Dir FUN_tool_dirC(const double par, const occ::handle<Geom_Curve>& C);
0061 Standard_EXPORT bool FUN_tool_onapex(const gp_Pnt2d& p2d, const occ::handle<Geom_Surface>& S);
0062 Standard_EXPORT gp_Dir FUN_tool_ngS(const gp_Pnt2d& p2d, const occ::handle<Geom_Surface>& S);
0063
0064
0065
0066
0067 Standard_EXPORT bool FUN_tool_line(const occ::handle<Geom_Curve>& C3d);
0068 Standard_EXPORT bool FUN_tool_line(const occ::handle<Geom2d_Curve>& C2d);
0069 Standard_EXPORT bool FUN_quadCT(const GeomAbs_CurveType& CT);
0070 Standard_EXPORT bool FUN_tool_quad(const occ::handle<Geom_Curve>& C3d);
0071 Standard_EXPORT bool FUN_tool_quad(const occ::handle<Geom2d_Curve>& pc);
0072 Standard_EXPORT bool FUN_tool_quad(const occ::handle<Geom_Surface>& S);
0073 Standard_EXPORT bool FUN_tool_closed(const occ::handle<Geom_Surface>& S,
0074 bool& uclosed,
0075 double& uperiod,
0076 bool& vclosed,
0077 double& vperiod);
0078 Standard_EXPORT void FUN_tool_UpdateBnd2d(Bnd_Box2d& B2d, const Bnd_Box2d& newB2d);
0079
0080
0081
0082
0083 Standard_EXPORT gp_Dir FUN_tool_nCinsideS(const gp_Dir& tgC, const gp_Dir& ngS);
0084 Standard_EXPORT gp_Dir2d FUN_tool_nC2dINSIDES(const gp_Dir2d& tgC2d);
0085
0086 #endif