File indexing completed on 2025-01-18 10:03:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Geom_OsculatingSurface_HeaderFile
0018 #define _Geom_OsculatingSurface_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Real.hxx>
0025 #include <Geom_HSequenceOfBSplineSurface.hxx>
0026 #include <TColStd_HSequenceOfInteger.hxx>
0027 #include <TColStd_Array1OfBoolean.hxx>
0028 #include <Standard_Integer.hxx>
0029 #include <GeomAbs_IsoType.hxx>
0030 #include <Geom_SequenceOfBSplineSurface.hxx>
0031 class Geom_Surface;
0032 class Geom_BSplineSurface;
0033
0034
0035 class Geom_OsculatingSurface;
0036 DEFINE_STANDARD_HANDLE(Geom_OsculatingSurface, Standard_Transient)
0037
0038 class Geom_OsculatingSurface : public Standard_Transient
0039 {
0040 public:
0041
0042 DEFINE_STANDARD_ALLOC
0043
0044
0045 Standard_EXPORT Geom_OsculatingSurface();
0046
0047
0048
0049
0050
0051 Standard_EXPORT Geom_OsculatingSurface(const Handle(Geom_Surface)& BS, const Standard_Real Tol);
0052
0053 Standard_EXPORT void Init (const Handle(Geom_Surface)& BS, const Standard_Real Tol);
0054
0055 Standard_EXPORT Handle(Geom_Surface) BasisSurface() const;
0056
0057 Standard_EXPORT Standard_Real Tolerance() const;
0058
0059
0060
0061 Standard_EXPORT Standard_Boolean UOscSurf (const Standard_Real U, const Standard_Real V, Standard_Boolean& t, Handle(Geom_BSplineSurface)& L) const;
0062
0063
0064
0065 Standard_EXPORT Standard_Boolean VOscSurf (const Standard_Real U, const Standard_Real V, Standard_Boolean& t, Handle(Geom_BSplineSurface)& L) const;
0066
0067
0068 Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;
0069
0070
0071 DEFINE_STANDARD_RTTIEXT(Geom_OsculatingSurface,Standard_Transient)
0072
0073 protected:
0074
0075
0076
0077
0078
0079 private:
0080
0081
0082
0083 Standard_EXPORT Standard_Boolean BuildOsculatingSurface (const Standard_Real Param, const Standard_Integer UKnot, const Standard_Integer VKnot, const Handle(Geom_BSplineSurface)& BS, Handle(Geom_BSplineSurface)& L) const;
0084
0085
0086
0087 Standard_EXPORT Standard_Boolean IsQPunctual (const Handle(Geom_Surface)& S, const Standard_Real Param, const GeomAbs_IsoType IT, const Standard_Real TolMin, const Standard_Real TolMax) const;
0088
0089 Standard_EXPORT Standard_Boolean HasOscSurf() const;
0090
0091 Standard_EXPORT Standard_Boolean IsAlongU() const;
0092
0093 Standard_EXPORT Standard_Boolean IsAlongV() const;
0094
0095 Standard_EXPORT void ClearOsculFlags();
0096
0097 Standard_EXPORT const Geom_SequenceOfBSplineSurface& GetSeqOfL1() const;
0098
0099 Standard_EXPORT const Geom_SequenceOfBSplineSurface& GetSeqOfL2() const;
0100
0101
0102 Handle(Geom_Surface) myBasisSurf;
0103 Standard_Real myTol;
0104 Handle(Geom_HSequenceOfBSplineSurface) myOsculSurf1;
0105 Handle(Geom_HSequenceOfBSplineSurface) myOsculSurf2;
0106 Handle(TColStd_HSequenceOfInteger) myKdeg;
0107 TColStd_Array1OfBoolean myAlong;
0108
0109
0110 };
0111
0112
0113
0114
0115
0116
0117
0118 #endif