1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_PointBuilder.h
4 // Created: 02 Jun 2014
5 // Author: Mikhail PONIKAROV
7 #ifndef GeomAlgoAPI_PointBuilder_H_
8 #define GeomAlgoAPI_PointBuilder_H_
10 #include <GeomAlgoAPI.h>
16 /**\class GeomAlgoAPI_PointBuilder
18 * \brief Allows to create face-shapes by different parameters
21 class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder
24 /// Creates a shape by point
25 static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
27 /// Creates a shape by point coordinates
28 static std::shared_ptr<GeomAPI_Shape> point(
29 const double theX, const double theY, const double theZ);
31 /// Return point by shape vertex
32 static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);