File indexing completed on 2025-01-18 10:03:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BlendFunc_HeaderFile
0018 #define _BlendFunc_HeaderFile
0019
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <BlendFunc_SectionShape.hxx>
0022 #include <Convert_ParameterisationType.hxx>
0023 #include <TColStd_Array1OfReal.hxx>
0024 #include <TColStd_Array1OfInteger.hxx>
0025 #include <GeomAbs_Shape.hxx>
0026
0027 class gp_Pnt2d;
0028 class gp_Vec;
0029
0030
0031
0032
0033
0034 class BlendFunc
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041 Standard_EXPORT static void GetShape (const BlendFunc_SectionShape SectShape, const Standard_Real MaxAng, Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree, Convert_ParameterisationType& TypeConv);
0042
0043 Standard_EXPORT static void Knots (const BlendFunc_SectionShape SectShape, TColStd_Array1OfReal& TKnots);
0044
0045 Standard_EXPORT static void Mults (const BlendFunc_SectionShape SectShape, TColStd_Array1OfInteger& TMults);
0046
0047 Standard_EXPORT static void GetMinimalWeights (const BlendFunc_SectionShape SectShape, const Convert_ParameterisationType TConv, const Standard_Real AngleMin, const Standard_Real AngleMax, TColStd_Array1OfReal& Weigths);
0048
0049
0050 Standard_EXPORT static GeomAbs_Shape NextShape (const GeomAbs_Shape S);
0051
0052 Standard_EXPORT static Standard_Boolean ComputeNormal (const Handle(Adaptor3d_Surface)& Surf, const gp_Pnt2d& p2d, gp_Vec& Normal);
0053
0054 Standard_EXPORT static Standard_Boolean ComputeDNormal (const Handle(Adaptor3d_Surface)& Surf, const gp_Pnt2d& p2d, gp_Vec& Normal, gp_Vec& DNu, gp_Vec& DNv);
0055
0056 };
0057
0058 #endif