-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);