X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PointBuilder.cpp;h=086cc419b429c43205fea01aba229792954b2955;hb=32e205a228d74cdc2627143cb32360e9a557d7dc;hp=d12bd6a86c61debae635c578b6efe1eef374f7fd;hpb=50eee93b00efc7e0e2595937d9cba45e131ca8cb;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.cpp index d12bd6a86..086cc419b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.cpp @@ -2,21 +2,19 @@ // Created: 02 Jun 2014 // Author: Mikhail PONIKAROV - - #include #include #include #include #include -boost::shared_ptr GeomAlgoAPI_PointBuilder::point( - boost::shared_ptr thePoint) +std::shared_ptr GeomAlgoAPI_PointBuilder::point( + std::shared_ptr thePoint) { const gp_Pnt& aPnt = thePoint->impl(); BRepBuilderAPI_MakeVertex aMaker(aPnt); TopoDS_Vertex aVertex = aMaker.Vertex(); - boost::shared_ptr aRes(new GeomAPI_Shape); + std::shared_ptr aRes(new GeomAPI_Shape); aRes->setImpl(new TopoDS_Shape(aVertex)); return aRes; }