Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1063: Problem of dynamic cast on Linux for Selection validators is solved
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_EdgeBuilder.h
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h
b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h
index ef0f82df49d04931d80d748a35c2667dcc4232e6..ffd042b4c52c2e7a6a967b69a87471a2e199e6ca 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h
@@
-21,9
+21,14
@@
class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder
{
public:
class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder
{
public:
- /// Creates linear edge by two points
+ /// Creates linear edge by two points.
+ /// \param theStart a first point of an edge
+ /// \param theEnd an end point of an edge
static std::shared_ptr<GeomAPI_Edge> line(std::shared_ptr<GeomAPI_Pnt> theStart,
static std::shared_ptr<GeomAPI_Edge> line(std::shared_ptr<GeomAPI_Pnt> theStart,
- std::shared_ptr<GeomAPI_Pnt> theEnd);
+ std::shared_ptr<GeomAPI_Pnt> theEnd);
+ /// Creates edge - axis of the given cylindrical face. The result axis edge is infinite
+ static std::shared_ptr<GeomAPI_Edge> cylinderAxis(
+ std::shared_ptr<GeomAPI_Shape> theCylindricalFace);
/// Creates linear edge in a form of a circle by a point and a circle radius
static std::shared_ptr<GeomAPI_Edge> lineCircle(std::shared_ptr<GeomAPI_Pnt> theCenter,
/// Creates linear edge in a form of a circle by a point and a circle radius
static std::shared_ptr<GeomAPI_Edge> lineCircle(std::shared_ptr<GeomAPI_Pnt> theCenter,