File indexing completed on 2026-09-13 09:15:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepBlend_BlendTool_HeaderFile
0018 #define _BRepBlend_BlendTool_HeaderFile
0019
0020 #include <Adaptor3d_Surface.hxx>
0021
0022 class gp_Pnt2d;
0023 class Adaptor2d_Curve2d;
0024 class Adaptor3d_HVertex;
0025
0026 class BRepBlend_BlendTool
0027 {
0028 public:
0029 DEFINE_STANDARD_ALLOC
0030
0031
0032
0033
0034
0035
0036
0037
0038 Standard_EXPORT static bool Project(const gp_Pnt2d& P,
0039 const occ::handle<Adaptor3d_Surface>& S,
0040 const occ::handle<Adaptor2d_Curve2d>& C,
0041 double& Paramproj,
0042 double& Dist);
0043
0044 Standard_EXPORT static bool Inters(const gp_Pnt2d& P1,
0045 const gp_Pnt2d& P2,
0046 const occ::handle<Adaptor3d_Surface>& S,
0047 const occ::handle<Adaptor2d_Curve2d>& C,
0048 double& Param,
0049 double& Dist);
0050
0051
0052 static double Parameter(const occ::handle<Adaptor3d_HVertex>& V,
0053 const occ::handle<Adaptor2d_Curve2d>& A);
0054
0055
0056
0057
0058
0059 static double Tolerance(const occ::handle<Adaptor3d_HVertex>& V,
0060 const occ::handle<Adaptor2d_Curve2d>& A);
0061
0062 static bool SingularOnUMin(const occ::handle<Adaptor3d_Surface>& S);
0063
0064 static bool SingularOnUMax(const occ::handle<Adaptor3d_Surface>& S);
0065
0066 static bool SingularOnVMin(const occ::handle<Adaptor3d_Surface>& S);
0067
0068 static bool SingularOnVMax(const occ::handle<Adaptor3d_Surface>& S);
0069
0070 Standard_EXPORT static int NbSamplesU(const occ::handle<Adaptor3d_Surface>& S,
0071 const double u1,
0072 const double u2);
0073
0074 Standard_EXPORT static int NbSamplesV(const occ::handle<Adaptor3d_Surface>& S,
0075 const double v1,
0076 const double v2);
0077
0078
0079
0080
0081
0082 Standard_EXPORT static void Bounds(const occ::handle<Adaptor2d_Curve2d>& C,
0083 double& Ufirst,
0084 double& Ulast);
0085
0086 static occ::handle<Adaptor2d_Curve2d> CurveOnSurf(const occ::handle<Adaptor2d_Curve2d>& C,
0087 const occ::handle<Adaptor3d_Surface>& S);
0088 };
0089
0090 #include <BRepBlend_BlendTool.lxx>
0091
0092 #endif