Salome HOME
Task 2.3: Creation of Intersection
[modules/shaper.git] / src / GeomAPI / GeomAPI_Edge.h
index e7d4910f1deb0eda3ea05d810e485b2f4396d4ed..2827c2f0dbd0b96a4530196094cc4526dfbed245 100644 (file)
@@ -90,9 +90,16 @@ public:
   void getRange(double& theFirst, double& theLast) const;
 
   /// Returns true, if the edge is fully placed in the specified plane
+  /// \param thePlane a plane for intersection
   GEOMAPI_EXPORT
   bool isInPlane(const std::shared_ptr<GeomAPI_Pln> thePlane) const;
 
+  /// Returns list of intersection points if the edge has intersections with the given plane
+  /// \param thePlane a plane for intersection
+  GEOMAPI_EXPORT
+  std::list<std::shared_ptr<GeomAPI_Pnt>>
+    intersectWithPlane(const std::shared_ptr<GeomAPI_Pln> thePlane) const;
+
   /// Returns edge length.
   GEOMAPI_EXPORT
   double length() const;