// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Geom_CartesianPoint_HeaderFile #define _Geom_CartesianPoint_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Geom_CartesianPoint_HeaderFile #include #endif #ifndef _gp_Pnt_HeaderFile #include #endif #ifndef _Geom_Point_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Geom_Geometry_HeaderFile #include #endif class gp_Pnt; class gp_Trsf; class Geom_Geometry; //! Describes a point in 3D space. A
//! Geom_CartesianPoint is defined by a gp_Pnt point,
//! with its three Cartesian coordinates X, Y and Z.
class Geom_CartesianPoint : public Geom_Point { public: //! Returns a transient copy of P.
Standard_EXPORT Geom_CartesianPoint(const gp_Pnt& P); //! Constructs a point defined by its three Cartesian coordinates X, Y and Z.
Standard_EXPORT Geom_CartesianPoint(const Standard_Real X,const Standard_Real Y,const Standard_Real Z); //! Assigns the coordinates X, Y and Z to this point.
Standard_EXPORT void SetCoord(const Standard_Real X,const Standard_Real Y,const Standard_Real Z) ; //! Set to P.X(), P.Y(), P.Z() coordinates.
Standard_EXPORT void SetPnt(const gp_Pnt& P) ; //! Changes the X coordinate of me.
Standard_EXPORT void SetX(const Standard_Real X) ; //! Changes the Y coordinate of me.
Standard_EXPORT void SetY(const Standard_Real Y) ; //! Changes the Z coordinate of me.
Standard_EXPORT void SetZ(const Standard_Real Z) ; //! Returns the coordinates of .
Standard_EXPORT void Coord(Standard_Real& X,Standard_Real& Y,Standard_Real& Z) const; //! Returns a non transient cartesian point with
//! the same coordinates as .
Standard_EXPORT gp_Pnt Pnt() const; //! Returns the X coordinate of .
Standard_EXPORT Standard_Real X() const; //! Returns the Y coordinate of .
Standard_EXPORT Standard_Real Y() const; //! Returns the Z coordinate of .
Standard_EXPORT Standard_Real Z() const; //! Applies the transformation T to this point.
Standard_EXPORT void Transform(const gp_Trsf& T) ; //! Creates a new object which is a copy of this point.
Standard_EXPORT Handle_Geom_Geometry Copy() const; DEFINE_STANDARD_RTTI(Geom_CartesianPoint) protected: private: gp_Pnt gpPnt; }; // other Inline functions and methods (like "C++: function call" methods) #endif