]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Pln.h
Salome HOME
Projection of outer edge onto the sketch plane (improvement #1297)
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pln.h
index 81bc519a0900c49affc2f3a93ec3b4ee23c6ccd6..3c319b78955457a22245d66922e3ad276afd3f71 100644 (file)
@@ -54,7 +54,11 @@ class GeomAPI_Pln : public GeomAPI_Interface
 
   /// Returns intersection point or empty if no intersections
   GEOMAPI_EXPORT
-    std::shared_ptr<GeomAPI_Pnt> intersect(const std::shared_ptr<GeomAPI_Lin>& theLine) const;
+  std::shared_ptr<GeomAPI_Pnt> intersect(const std::shared_ptr<GeomAPI_Lin>& theLine) const;
+
+  /// Returns projection of the given point onto the plane
+  GEOMAPI_EXPORT
+  std::shared_ptr<GeomAPI_Pnt> project(const std::shared_ptr<GeomAPI_Pnt>& thePoint) const;
 };
 
 #endif