Warning, file /include/opencascade/BlendFunc.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 <NCollection_Array1.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <GeomAbs_Shape.hxx>
0026
0027 class gp_Pnt2d;
0028 class gp_Vec;
0029
0030
0031
0032
0033 class BlendFunc
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT static void GetShape(const BlendFunc_SectionShape SectShape,
0039 const double MaxAng,
0040 int& NbPoles,
0041 int& NbKnots,
0042 int& Degree,
0043 Convert_ParameterisationType& TypeConv);
0044
0045 Standard_EXPORT static void Knots(const BlendFunc_SectionShape SectShape,
0046 NCollection_Array1<double>& TKnots);
0047
0048 Standard_EXPORT static void Mults(const BlendFunc_SectionShape SectShape,
0049 NCollection_Array1<int>& TMults);
0050
0051 Standard_EXPORT static void GetMinimalWeights(const BlendFunc_SectionShape SectShape,
0052 const Convert_ParameterisationType TConv,
0053 const double AngleMin,
0054 const double AngleMax,
0055 NCollection_Array1<double>& Weigths);
0056
0057
0058 Standard_EXPORT static GeomAbs_Shape NextShape(const GeomAbs_Shape S);
0059
0060 Standard_EXPORT static bool ComputeNormal(const occ::handle<Adaptor3d_Surface>& Surf,
0061 const gp_Pnt2d& p2d,
0062 gp_Vec& Normal);
0063
0064 Standard_EXPORT static bool ComputeDNormal(const occ::handle<Adaptor3d_Surface>& Surf,
0065 const gp_Pnt2d& p2d,
0066 gp_Vec& Normal,
0067 gp_Vec& DNu,
0068 gp_Vec& DNv);
0069 };
0070
0071 #endif