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 #2059 point in sketch is created not on selected line of external sketchPlane...
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Vertex.h
diff --git
a/src/GeomAPI/GeomAPI_Vertex.h
b/src/GeomAPI/GeomAPI_Vertex.h
index 9baf0dcdc08bf4a8572ff5b2168478b9d005161e..c5f0dfe27144e2ff9054a7287aeefc43f26adb41 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Vertex.h
+++ b/
src/GeomAPI/GeomAPI_Vertex.h
@@
-11,28
+11,30
@@
class GeomAPI_Pnt;
class GeomAPI_Pnt;
-/**\class GeomAPI_Vertex
-* \ingroup DataModel
- * \brief Interface to the vertex object
- */
-
-class GeomAPI_Vertex : public GeomAPI_Shape
+/// \class GeomAPI_Vertex
+/// \ingroup DataModel
+/// \brief Interface to the vertex object.
+class GeomAPI_Vertex: public GeomAPI_Shape
{
public:
{
public:
- /// Creation of empty (null) shape
- GEOMAPI_EXPORT
- GeomAPI_Vertex();
+ /// Creation of empty (null) shape.
+ GEOMAPI_EXPORT
+ GeomAPI_Vertex();
+
+ /// Creation of vertex by the vertex-shape.
+ GEOMAPI_EXPORT
+ GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
- /// Creation of
edge by the edge-shape
- 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
+ /// Returns the first vertex coordinates of the edge
.
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> point();
std::shared_ptr<GeomAPI_Pnt> point();
- /// Returns true if the current edge is geometrically equal to the given edge
- GEOMAPI_EXPORT
+ /// 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;
};