Salome HOME
Fix solvespace version number in environment.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_PointBuilder.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomAlgoAPI_PointBuilder.h
4 // Created:     02 Jun 2014
5 // Author:      Mikhail PONIKAROV
6
7 #ifndef GeomAlgoAPI_PointBuilder_H_
8 #define GeomAlgoAPI_PointBuilder_H_
9
10 #include <GeomAlgoAPI.h>
11 #include <memory>
12
13 class GeomAPI_Shape;
14 class GeomAPI_Pnt;
15
16 /**\class GeomAlgoAPI_PointBuilder
17  * \ingroup DataAlgo
18  * \brief Allows to create face-shapes by different parameters
19  */
20
21 class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder
22 {
23  public:
24   /// Creates a shape by point
25   static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
26
27   /// Creates a shape by point coordinates
28   static std::shared_ptr<GeomAPI_Shape> point(
29     const double theX, const double theY, const double theZ);
30
31   /// Return point by shape vertex
32   static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);
33 };
34
35 #endif