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 3b517a8632a0e61b4a894093058d6eadcfe247c7..c1ec7109c3d669158ffad59dd374360ddc6f1d32 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Vertex.h
+++ b/
src/GeomAPI/GeomAPI_Vertex.h
@@
-16,19
+16,27
@@
class GeomAPI_Pnt;
* \brief Interface to the vertex object
*/
* \brief Interface to the vertex object
*/
-class G
EOMAPI_EXPORT G
eomAPI_Vertex : public GeomAPI_Shape
+class GeomAPI_Vertex : public GeomAPI_Shape
{
public:
/// Creation of empty (null) shape
{
public:
/// Creation of empty (null) shape
+ GEOMAPI_EXPORT
GeomAPI_Vertex();
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_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
/// Returns the first vertex coordinates of the edge
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> point();
/// Returns true if the current edge is geometrically equal to the given edge
std::shared_ptr<GeomAPI_Pnt> point();
/// Returns true if the current edge is geometrically equal to the given edge
+ GEOMAPI_EXPORT
bool isEqual(const std::shared_ptr<GeomAPI_Shape> theVert) const;
};
bool isEqual(const std::shared_ptr<GeomAPI_Shape> theVert) const;
};