Sketcher: GeometryFacade - new static function to check for internal alignment
This commit is contained in:
committed by
abdullahtahiriyo
parent
5fe254e6f1
commit
bad35fe26c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user