[TD]getters and setters for geometry

- make attributes private (or protected) and use
  getters and setters instead of accessing attributes
  directly.
This commit is contained in:
wandererfan
2023-02-11 17:51:05 -05:00
committed by WandererFan
parent c6c3c54b74
commit 01641433c1
20 changed files with 249 additions and 211 deletions

View File

@@ -110,8 +110,8 @@ TechDraw::CosmeticVertex* CosmeticExtension::getCosmeticVertexBySelection(std::s
TechDraw::VertexPtr v = dvp->getProjVertexByIndex(idx);
if (!v)
return result;
if (!v->cosmeticTag.empty())
result = getCosmeticVertex(v->cosmeticTag);
if (!v->getCosmeticTag().empty())
result = getCosmeticVertex(v->getCosmeticTag());
return result;
}