Remove unused function assignTag

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 14:50:12 +01:00
parent 8c8179feb9
commit 934e9fb683
7 changed files with 0 additions and 37 deletions

View File

@@ -1093,14 +1093,6 @@ void CenterLine::createNewTag()
tag = gen();
}
void CenterLine::assignTag(const TechDraw::CenterLine* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("CenterLine tag can not be assigned as types do not match.");
}
CenterLine *CenterLine::clone() const
{
CenterLine* cpy = this->copy();

View File

@@ -183,7 +183,6 @@ protected:
void initialize();
void createNewTag();
void assignTag(const TechDraw::CenterLine* cl);
boost::uuids::uuid tag;

View File

@@ -328,14 +328,6 @@ void CosmeticEdge::createNewTag()
tag = gen();
}
void CosmeticEdge::assignTag(const TechDraw::CosmeticEdge* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("CosmeticEdge tag can not be assigned as types do not match.");
}
CosmeticEdge* CosmeticEdge::clone() const
{
Base::Console().Message("CE::clone()\n");
@@ -504,14 +496,6 @@ void GeomFormat::createNewTag()
tag = gen();
}
void GeomFormat::assignTag(const TechDraw::GeomFormat* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("GeomFormat tag can not be assigned as types do not match.");
}
GeomFormat *GeomFormat::clone() const
{
GeomFormat* cpy = this->copy();

View File

@@ -87,7 +87,6 @@ public:
protected:
//Uniqueness
void createNewTag();
void assignTag(const TechDraw::CosmeticEdge* ce);
boost::uuids::uuid tag;
Py::Object PythonObject;
@@ -130,7 +129,6 @@ public:
protected:
void createNewTag();
void assignTag(const TechDraw::GeomFormat* gf);
boost::uuids::uuid tag;
Py::Object PythonObject;

View File

@@ -255,14 +255,6 @@ void CosmeticVertex::createNewTag()
tag = gen();
}
void CosmeticVertex::assignTag(const TechDraw::CosmeticVertex* cv)
{
if(cv->getTypeId() == this->getTypeId())
this->tag = cv->tag;
else
throw Base::TypeError("CosmeticVertex tag can not be assigned as types do not match.");
}
CosmeticVertex* CosmeticVertex::copy() const
{
// Base::Console().Message("CV::copy()\n");

View File

@@ -84,7 +84,6 @@ public:
protected:
//Uniqueness
void createNewTag();
void assignTag(const TechDraw::CosmeticVertex* cv);
boost::uuids::uuid tag;

View File

@@ -414,7 +414,6 @@ class TechDrawExport Vertex
protected:
//Uniqueness
void createNewTag();
void assignTag(const TechDraw::Vertex* v);
Base::Vector3d pnt;
ExtractionType extractType; //obs?