Salome HOME
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_FaceBuilder.h
index 603ed4620f3aa8d353bb98a5b7cbccad51bc368f..c33013f02e51d5c102396fcffc3068296b4af604 100644 (file)
@@ -47,6 +47,10 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder
                                                                  const std::shared_ptr<GeomAPI_Vertex> theVertex2,
                                                                  const std::shared_ptr<GeomAPI_Vertex> theVertex3);
 
+  /// Creates a planar face parallel to theFace and passing through theVertex.
+  static std::shared_ptr<GeomAPI_Face> planarFaceByFaceAndVertex(const std::shared_ptr<GeomAPI_Face> theFace,
+                                                                 const std::shared_ptr<GeomAPI_Vertex> theVertex);
+
   /// Returns the plane of the planar face. If it is not planar, returns empty ptr.
   static std::shared_ptr<GeomAPI_Pln> plane(const std::shared_ptr<GeomAPI_Face> theFace);
 };