File indexing completed on 2025-01-18 10:04:11
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
0029 class IntTools_PntOnFace
0030 {
0031 public:
0032
0033 DEFINE_STANDARD_ALLOC
0034
0035
0036
0037
0038 Standard_EXPORT IntTools_PntOnFace();
0039
0040
0041
0042
0043 Standard_EXPORT void Init (const TopoDS_Face& aF, const gp_Pnt& aP, const Standard_Real U, const Standard_Real V);
0044
0045
0046
0047 Standard_EXPORT void SetFace (const TopoDS_Face& aF);
0048
0049
0050
0051 Standard_EXPORT void SetPnt (const gp_Pnt& aP);
0052
0053
0054
0055 Standard_EXPORT void SetParameters (const Standard_Real U, const Standard_Real V);
0056
0057
0058
0059 Standard_EXPORT void SetValid (const Standard_Boolean bF);
0060
0061
0062
0063 Standard_EXPORT Standard_Boolean Valid() const;
0064
0065
0066
0067 Standard_EXPORT const TopoDS_Face& Face() const;
0068
0069
0070
0071 Standard_EXPORT const gp_Pnt& Pnt() const;
0072
0073
0074
0075 Standard_EXPORT void Parameters (Standard_Real& U, Standard_Real& V) const;
0076
0077
0078
0079 Standard_EXPORT Standard_Boolean IsValid() const;
0080
0081
0082
0083
0084 protected:
0085
0086
0087
0088
0089
0090 private:
0091
0092
0093
0094 Standard_Boolean myIsValid;
0095 gp_Pnt myPnt;
0096 Standard_Real myU;
0097 Standard_Real myV;
0098 TopoDS_Face myFace;
0099
0100
0101 };
0102
0103
0104
0105
0106
0107
0108
0109 #endif