[TechDraw] Remove deprecated replaceCosmeticVertex

This commit is contained in:
Benjamin Bræstrup Sayoc
2022-08-02 12:51:43 +02:00
committed by WandererFan
parent 7e230725b9
commit a017cb41bc
5 changed files with 3 additions and 22 deletions

View File

@@ -113,6 +113,9 @@ protected:
};
//********** CosmeticEdge ******************************************************
class TechDrawExport CosmeticEdge : public Base::Persistence, public TechDraw::BaseGeom

View File

@@ -152,14 +152,6 @@ void CosmeticExtension::removeCosmeticVertex(std::vector<std::string> delTags)
}
}
bool CosmeticExtension::replaceCosmeticVertex(CosmeticVertex* newCV)
{
(void) newCV;
Base::Console().Message("CX::replaceCosmeticVertex() - deprecated. do not use.\n");
bool result = false;
return result;
}
//********** Cosmetic Edge *****************************************************
//returns unique CE id

View File

@@ -55,7 +55,6 @@ public:
virtual CosmeticVertex* getCosmeticVertexBySelection(std::string name) const;
virtual CosmeticVertex* getCosmeticVertexBySelection(int i) const;
virtual CosmeticVertex* getCosmeticVertex(std::string id) const;
virtual bool replaceCosmeticVertex(CosmeticVertex* newVertex);
virtual void removeCosmeticVertex(std::string tag);
virtual void removeCosmeticVertex(std::vector<std::string> delTags);

View File

@@ -43,11 +43,6 @@
<UserDocu>cv = getCosmeticVertexBySelection(name) - returns CosmeticVertex with name (Vertex6). Used in selections.</UserDocu>
</Documentation>
</Methode>
<Methode Name="replaceCosmeticVertex">
<Documentation>
<UserDocu>rc = replaceCosmeticVertex(cv) - replaces CosmeticVertex in View. Returns True/False.</UserDocu>
</Documentation>
</Methode>
<Methode Name="removeCosmeticVertex">
<Documentation>
<UserDocu>removeCosmeticVertex(cv) - remove CosmeticVertex from View. Returns None.</UserDocu>

View File

@@ -275,14 +275,6 @@ PyObject* DrawViewPartPy::removeCosmeticVertex(PyObject *args)
return Py_None;
}
PyObject* DrawViewPartPy::replaceCosmeticVertex(PyObject *args)
{
(void) args;
Base::Console().Message("DVPP::replaceCosmeticVertex() - deprecated. do not use.\n");
return PyBool_FromLong(0l);
}
//********* Cosmetic Line Routines *********************************************