Transfer in code from linkstage3

This commit is contained in:
Zheng, Lei
2024-07-18 06:38:53 -04:00
committed by bgbsww
parent 3efba18ad4
commit 31e2b3104c
11 changed files with 181 additions and 9 deletions

View File

@@ -146,6 +146,18 @@ void GeometryFacade::copyId(const Part::Geometry* src, Part::Geometry* dst)
gfdst->setId(gfsrc->getId());
}
int GeometryFacade::getId(const Part::Geometry* geometry)
{
auto gf = GeometryFacade::getFacade(geometry);
return gf->getId();
}
void GeometryFacade::setId(Part::Geometry* geometry, int id)
{
auto gf = GeometryFacade::getFacade(geometry);
return gf->setId(id);
}
bool GeometryFacade::getConstruction(const Part::Geometry* geometry)
{
throwOnNullPtr(geometry);