X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PointBuilder.h;h=28703d91da9a85132f5277f91308e411b9661da4;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=906a2814febbc8effdf2e1f35109b3d6d0ccf5d2;hpb=98d0d390dac05b7764af10c723fd33f23665c207;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h index 906a2814f..28703d91d 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h @@ -48,6 +48,20 @@ public: static std::shared_ptr vertexByProjection(const std::shared_ptr theVertex, const std::shared_ptr thePlane); + /// \brief Creates vertex by intersection two coplanar lines. + /// \param[in] theEdge1 first linear edge. + /// \param[in] theEdge2 second linear edge. + /// \return created vertex. + static std::shared_ptr vertexByIntersection(const std::shared_ptr theEdge1, + const std::shared_ptr theEdge2); + + /// \brief Creates vertex by intersection line and plane. + /// \param[in] theEdge linear edge. + /// \param[in] theFace planar face. + /// \return created vertex. + static std::shared_ptr vertexByIntersection(const std::shared_ptr theEdge, + const std::shared_ptr theFace); + /// Return point by shape vertex static std::shared_ptr point(const std::shared_ptr theVertex); };