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 #1015: The validate icon must be greyed and inactive instead of red and active
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Vertex.h
diff --git
a/src/GeomAPI/GeomAPI_Vertex.h
b/src/GeomAPI/GeomAPI_Vertex.h
index 9baf0dcdc08bf4a8572ff5b2168478b9d005161e..c1ec7109c3d669158ffad59dd374360ddc6f1d32 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Vertex.h
+++ b/
src/GeomAPI/GeomAPI_Vertex.h
@@
-23,10
+23,14
@@
public:
GEOMAPI_EXPORT
GeomAPI_Vertex();
GEOMAPI_EXPORT
GeomAPI_Vertex();
- /// Creation of
edge by the edge
-shape
+ /// Creation of
vertex by the vertex
-shape
GEOMAPI_EXPORT
GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
GEOMAPI_EXPORT
GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
+ /// Creation of vertex by 3d coordinates
+ GEOMAPI_EXPORT
+ GeomAPI_Vertex(double theX, double theY, double theZ);
+
/// Returns the first vertex coordinates of the edge
GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> point();
/// Returns the first vertex coordinates of the edge
GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> point();