1 // File: GeomData_Point.h
2 // Created: 24 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomData_Point_HeaderFile
6 #define GeomData_Point_HeaderFile
9 #include "GeomDataAPI_Point.h"
10 #include <TDataStd_RealArray.hxx>
11 #include <TDF_Label.hxx>
13 /**\class GeomData_Point
15 * \brief Attribute that contains real value with double precision.
18 class GeomData_Point : public ModelAPI_Attribute
20 Handle_TDataStd_RealArray myCoords; ///< X, Y and Z doubles as real array attribute [0; 2]
22 /// Defines the double value
23 virtual void setValue(const double theX, const double theY, const double theZ);
25 /// Returns the X double value
26 virtual double x() const;
27 /// Returns the Y double value
28 virtual double y() const;
29 /// Returns the Z double value
30 virtual double z() const;
33 /// Initializes attributes
34 GeomData_Point(TDF_Label& theLabel);