+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAlgoAPI_PointBuilder.h
// Created: 02 Jun 2014
// Author: Mikhail PONIKAROV
-#ifndef GeomAlgoAPI_PointBuilder_HeaderFile
-#define GeomAlgoAPI_PointBuilder_HeaderFile
+#ifndef GeomAlgoAPI_PointBuilder_H_
+#define GeomAlgoAPI_PointBuilder_H_
#include <GeomAlgoAPI.h>
-#include <boost/shared_ptr.hpp>
+#include <memory>
class GeomAPI_Shape;
class GeomAPI_Pnt;
class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder
{
-public:
- /// Creates linear edge by two points
- static boost::shared_ptr<GeomAPI_Shape> point(
- boost::shared_ptr<GeomAPI_Pnt> thePoint);
+ public:
+ /// Creates a shape by point
+ static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
+
+ /// Return point by shape vertex
+ static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);
};
#endif