Salome HOME
Fix solvespace version number in environment.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_PointBuilder.h
index 64e479ce1cfbb300b3e16b840b43eadbaae788ba..cff50ee0561cdb35becd322c685e9b99f907e5f7 100644 (file)
@@ -21,8 +21,15 @@ class GeomAPI_Pnt;
 class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder
 {
  public:
-  /// Creates linear edge by two points
+  /// Creates a shape by point
   static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
+
+  /// Creates a shape by point coordinates
+  static std::shared_ptr<GeomAPI_Shape> point(
+    const double theX, const double theY, const double theZ);
+
+  /// Return point by shape vertex
+  static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);
 };
 
 #endif