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);
|
||||
|
||||
@@ -123,6 +123,7 @@ public: // Utility methods
|
||||
static bool getConstruction(const Part::Geometry * geometry);
|
||||
static void setConstruction(Part::Geometry * geometry, bool construction);
|
||||
static bool isInternalType(const Part::Geometry * geometry, InternalType::InternalType type);
|
||||
static bool isInternalAligned(const Part::Geometry * geometry);
|
||||
static bool getBlocked(const Part::Geometry * geometry);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user