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_CartesianPoint_HeaderFile
0018 #define _Geom_CartesianPoint_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <gp_Pnt.hxx>
0023 #include <Geom_Point.hxx>
0024 #include <Standard_Real.hxx>
0025 class gp_Trsf;
0026 class Geom_Geometry;
0027
0028
0029 class Geom_CartesianPoint;
0030 DEFINE_STANDARD_HANDLE(Geom_CartesianPoint, Geom_Point)
0031
0032
0033
0034
0035 class Geom_CartesianPoint : public Geom_Point
0036 {
0037
0038 public:
0039
0040
0041
0042 Standard_EXPORT Geom_CartesianPoint(const gp_Pnt& P);
0043
0044
0045 Standard_EXPORT Geom_CartesianPoint(const Standard_Real X, const Standard_Real Y, const Standard_Real Z);
0046
0047
0048 Standard_EXPORT void SetCoord (const Standard_Real X, const Standard_Real Y, const Standard_Real Z);
0049
0050
0051 Standard_EXPORT void SetPnt (const gp_Pnt& P);
0052
0053
0054 Standard_EXPORT void SetX (const Standard_Real X);
0055
0056
0057 Standard_EXPORT void SetY (const Standard_Real Y);
0058
0059
0060 Standard_EXPORT void SetZ (const Standard_Real Z);
0061
0062
0063 Standard_EXPORT void Coord (Standard_Real& X, Standard_Real& Y, Standard_Real& Z) const Standard_OVERRIDE;
0064
0065
0066
0067
0068 Standard_EXPORT gp_Pnt Pnt() const Standard_OVERRIDE;
0069
0070
0071 Standard_EXPORT Standard_Real X() const Standard_OVERRIDE;
0072
0073
0074 Standard_EXPORT Standard_Real Y() const Standard_OVERRIDE;
0075
0076
0077 Standard_EXPORT Standard_Real Z() const Standard_OVERRIDE;
0078
0079
0080 Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
0081
0082
0083 Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
0084
0085
0086
0087
0088 DEFINE_STANDARD_RTTIEXT(Geom_CartesianPoint,Geom_Point)
0089
0090 protected:
0091
0092
0093
0094
0095 private:
0096
0097
0098 gp_Pnt gpPnt;
0099
0100
0101 };
0102
0103
0104
0105
0106
0107
0108
0109 #endif