1 // Name : ConstructionAPI_Point.h
5 // 29/03/16 - Sergey POKHODENKO - Creation of the file
7 #ifndef SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_POINT_H_
8 #define SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_POINT_H_
10 //--------------------------------------------------------------------------------------
11 #include "ConstructionAPI.h"
13 #include <ModelHighAPI_Interface.h>
14 //--------------------------------------------------------------------------------------
15 class ModelAPI_AttributeDouble;
16 class ModelHighAPI_Double;
17 //--------------------------------------------------------------------------------------
21 class ConstructionAPI_Point : public ModelHighAPI_Interface
24 ConstructionAPI_Point(const std::shared_ptr<ModelAPI_Feature> & theFeature);
25 ConstructionAPI_Point(const std::shared_ptr<ModelAPI_Feature> & theFeature,
26 const ModelHighAPI_Double & theX,
27 const ModelHighAPI_Double & theY,
28 const ModelHighAPI_Double & theZ);
29 virtual ~ConstructionAPI_Point();
31 void setPoint(const ModelHighAPI_Double & theX,
32 const ModelHighAPI_Double & theY,
33 const ModelHighAPI_Double & theZ);
35 std::shared_ptr<ModelAPI_AttributeDouble> x() const;
36 std::shared_ptr<ModelAPI_AttributeDouble> y() const;
37 std::shared_ptr<ModelAPI_AttributeDouble> z() const;
40 std::shared_ptr<ModelAPI_AttributeDouble> myX, myY, myZ;
45 //--------------------------------------------------------------------------------------
46 //--------------------------------------------------------------------------------------
47 #endif /* SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_POINT_H_ */