1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAPI_Vertex.hxx
4 // Created: 16 Dec 2014
5 // Author: Vitaly Smetannikov
7 #ifndef GeomAPI_Vertex_H_
8 #define GeomAPI_Vertex_H_
10 #include <GeomAPI_Shape.h>
14 /**\class GeomAPI_Vertex
16 * \brief Interface to the vertex object
19 class GEOMAPI_EXPORT GeomAPI_Vertex : public GeomAPI_Shape
22 /// Creation of empty (null) shape
25 /// Creation of edge by the edge-shape
26 GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
28 /// Returns the first vertex coordinates of the edge
29 std::shared_ptr<GeomAPI_Pnt> point();
31 /// Returns true if the current edge is geometrically equal to the given edge
32 bool isEqual(const std::shared_ptr<GeomAPI_Shape> theVert) const;