Sketcher: GeometryFacade - new static function to check for internal alignment

This commit is contained in:
Abdullah Tahiri
2022-10-18 08:13:28 +02:00
committed by abdullahtahiriyo
parent 5fe254e6f1
commit bad35fe26c
2 changed files with 9 additions and 0 deletions

View File

@@ -160,6 +160,14 @@ bool GeometryFacade::isInternalType(const Part::Geometry * geometry, InternalTyp
return gf->getInternalType() == type;
}
bool GeometryFacade::isInternalAligned(const Part::Geometry * geometry)
{
throwOnNullPtr(geometry);
auto gf = GeometryFacade::getFacade(geometry);
return gf->isInternalAligned();
}
bool GeometryFacade::getBlocked(const Part::Geometry * geometry)
{
throwOnNullPtr(geometry);