File indexing completed on 2026-10-06 09:20:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomInt_ThePrmPrmSvSurfacesOfWLApprox_HeaderFile
0018 #define _GeomInt_ThePrmPrmSvSurfacesOfWLApprox_HeaderFile
0019
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <gp_Pnt2d.hxx>
0022 #include <gp_Pnt.hxx>
0023 #include <gp_Vec2d.hxx>
0024 #include <gp_Vec.hxx>
0025 #include <GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox.hxx>
0026 #include <ApproxInt_SvSurfaces.hxx>
0027
0028 class Adaptor3d_HSurfaceTool;
0029 class IntPatch_WLine;
0030 class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox;
0031 class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox;
0032
0033 class GeomInt_ThePrmPrmSvSurfacesOfWLApprox : public ApproxInt_SvSurfaces
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT GeomInt_ThePrmPrmSvSurfacesOfWLApprox(
0039 const occ::handle<Adaptor3d_Surface>& Surf1,
0040 const occ::handle<Adaptor3d_Surface>& Surf2);
0041
0042
0043 Standard_EXPORT bool Compute(double& u1,
0044 double& v1,
0045 double& u2,
0046 double& v2,
0047 gp_Pnt& Pt,
0048 gp_Vec& Tg,
0049 gp_Vec2d& Tguv1,
0050 gp_Vec2d& Tguv2) override;
0051
0052 Standard_EXPORT void Pnt(const double u1,
0053 const double v1,
0054 const double u2,
0055 const double v2,
0056 gp_Pnt& P) override;
0057
0058 Standard_EXPORT bool SeekPoint(const double u1,
0059 const double v1,
0060 const double u2,
0061 const double v2,
0062 IntSurf_PntOn2S& Point) override;
0063
0064 Standard_EXPORT bool Tangency(const double u1,
0065 const double v1,
0066 const double u2,
0067 const double v2,
0068 gp_Vec& Tg) override;
0069
0070 Standard_EXPORT bool TangencyOnSurf1(const double u1,
0071 const double v1,
0072 const double u2,
0073 const double v2,
0074 gp_Vec2d& Tg) override;
0075
0076 Standard_EXPORT bool TangencyOnSurf2(const double u1,
0077 const double v1,
0078 const double u2,
0079 const double v2,
0080 gp_Vec2d& Tg) override;
0081
0082 private:
0083 gp_Pnt2d MyParOnS1;
0084 gp_Pnt2d MyParOnS2;
0085 gp_Pnt MyPnt;
0086 gp_Vec2d MyTguv1;
0087 gp_Vec2d MyTguv2;
0088 gp_Vec MyTg;
0089 bool MyIsTangent;
0090 bool MyHasBeenComputed;
0091 gp_Pnt2d MyParOnS1bis;
0092 gp_Pnt2d MyParOnS2bis;
0093 gp_Pnt MyPntbis;
0094 gp_Vec2d MyTguv1bis;
0095 gp_Vec2d MyTguv2bis;
0096 gp_Vec MyTgbis;
0097 bool MyIsTangentbis;
0098 bool MyHasBeenComputedbis;
0099 GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox MyIntersectionOn2S;
0100 };
0101
0102 #endif