Salome HOME
Test ConstructionAPI_Point by old PythonAPI tests
[modules/shaper.git] / src / ConstructionAPI / ConstructionAPI_Point.cpp
index d7e9867a19af75d4d79ec005de15c49a76fef357..41349f9daa658b8a687f7bfe09617db5467f7d63 100644 (file)
@@ -88,14 +88,6 @@ std::shared_ptr<ModelAPI_AttributeDouble> ConstructionAPI_Point::z() const
 
 //--------------------------------------------------------------------------------------
 // TODO(spo): make add* as static functions of the class
-PointPtr addPoint(
-    std::shared_ptr<ModelAPI_Document> thePart)
-{
-  // TODO(spo): check that thePart is not empty
-  std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature("Point");
-  return PointPtr(new ConstructionAPI_Point(aFeature));
-}
-
 PointPtr addPoint(
     std::shared_ptr<ModelAPI_Document> thePart,
     const ModelHighAPI_Double& theX,