File indexing completed on 2025-01-18 10:03:08
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
0030 DEFINE_STANDARD_ALLOC
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 Standard_EXPORT static Standard_Boolean Project (const gp_Pnt2d& P, const Handle(Adaptor3d_Surface)& S, const Handle(Adaptor2d_Curve2d)& C, Standard_Real& Paramproj, Standard_Real& Dist);
0041
0042 Standard_EXPORT static Standard_Boolean Inters (const gp_Pnt2d& P1, const gp_Pnt2d& P2, const Handle(Adaptor3d_Surface)& S, const Handle(Adaptor2d_Curve2d)& C, Standard_Real& Param, Standard_Real& Dist);
0043
0044
0045 static Standard_Real Parameter (const Handle(Adaptor3d_HVertex)& V, const Handle(Adaptor2d_Curve2d)& A);
0046
0047
0048
0049
0050
0051 static Standard_Real Tolerance (const Handle(Adaptor3d_HVertex)& V, const Handle(Adaptor2d_Curve2d)& A);
0052
0053 static Standard_Boolean SingularOnUMin (const Handle(Adaptor3d_Surface)& S);
0054
0055 static Standard_Boolean SingularOnUMax (const Handle(Adaptor3d_Surface)& S);
0056
0057 static Standard_Boolean SingularOnVMin (const Handle(Adaptor3d_Surface)& S);
0058
0059 static Standard_Boolean SingularOnVMax (const Handle(Adaptor3d_Surface)& S);
0060
0061 Standard_EXPORT static Standard_Integer NbSamplesU (const Handle(Adaptor3d_Surface)& S, const Standard_Real u1, const Standard_Real u2);
0062
0063 Standard_EXPORT static Standard_Integer NbSamplesV (const Handle(Adaptor3d_Surface)& S, const Standard_Real v1, const Standard_Real v2);
0064
0065
0066
0067
0068
0069 Standard_EXPORT static void Bounds (const Handle(Adaptor2d_Curve2d)& C, Standard_Real& Ufirst, Standard_Real& Ulast);
0070
0071 static Handle(Adaptor2d_Curve2d) CurveOnSurf (const Handle(Adaptor2d_Curve2d)& C, const Handle(Adaptor3d_Surface)& S);
0072
0073
0074
0075
0076 protected:
0077
0078
0079
0080
0081
0082 private:
0083
0084
0085
0086
0087
0088 };
0089
0090
0091 #include <BRepBlend_BlendTool.lxx>
0092
0093
0094
0095
0096
0097 #endif