File indexing completed on 2026-09-29 09:19:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _IntTools_PntOnFace_HeaderFile
0017 #define _IntTools_PntOnFace_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <Standard_Boolean.hxx>
0024 #include <gp_Pnt.hxx>
0025 #include <TopoDS_Face.hxx>
0026
0027
0028 class IntTools_PntOnFace
0029 {
0030 public:
0031 DEFINE_STANDARD_ALLOC
0032
0033
0034 Standard_EXPORT IntTools_PntOnFace();
0035
0036
0037
0038 Standard_EXPORT void Init(const TopoDS_Face& aF,
0039 const gp_Pnt& aP,
0040 const double U,
0041 const double V);
0042
0043
0044 Standard_EXPORT void SetFace(const TopoDS_Face& aF);
0045
0046
0047 Standard_EXPORT void SetPnt(const gp_Pnt& aP);
0048
0049
0050 Standard_EXPORT void SetParameters(const double U, const double V);
0051
0052
0053 Standard_EXPORT void SetValid(const bool bF);
0054
0055
0056 Standard_EXPORT bool Valid() const;
0057
0058
0059 Standard_EXPORT const TopoDS_Face& Face() const;
0060
0061
0062 Standard_EXPORT const gp_Pnt& Pnt() const;
0063
0064
0065 Standard_EXPORT void Parameters(double& U, double& V) const;
0066
0067
0068 Standard_EXPORT bool IsValid() const;
0069
0070 private:
0071 bool myIsValid;
0072 gp_Pnt myPnt;
0073 double myU;
0074 double myV;
0075 TopoDS_Face myFace;
0076 };
0077
0078 #endif