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_Vertex : public GeomAPI_Shape
22 /// Creation of empty (null) shape
26 /// Creation of vertex by the vertex-shape
28 GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
30 /// Creation of vertex by 3d coordinates
32 GeomAPI_Vertex(double theX, double theY, double theZ);
34 /// Returns the first vertex coordinates of the edge
36 std::shared_ptr<GeomAPI_Pnt> point();
38 /// Returns true if the current edge is geometrically equal to the given edge
40 bool isEqual(const std::shared_ptr<GeomAPI_Shape> theVert) const;