X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Edge.h;h=2827c2f0dbd0b96a4530196094cc4526dfbed245;hb=62d90f590c1d7d2457887fe2ff9b76e07bd9b718;hp=e7d4910f1deb0eda3ea05d810e485b2f4396d4ed;hpb=cff305b5e67d360123748369da91be12b93a2d11;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Edge.h b/src/GeomAPI/GeomAPI_Edge.h index e7d4910f1..2827c2f0d 100644 --- a/src/GeomAPI/GeomAPI_Edge.h +++ b/src/GeomAPI/GeomAPI_Edge.h @@ -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 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> + intersectWithPlane(const std::shared_ptr thePlane) const; + /// Returns edge length. GEOMAPI_EXPORT double length() const;