Sketcher: GeometryFacade convenience function isAlignedGeometry()
This commit is contained in:
committed by
abdullahtahiriyo
parent
ffe2ecaa4a
commit
593ade1604
@@ -128,9 +128,12 @@ public:
|
||||
virtual bool testGeometryMode(int flag) const override { return getGeoExt()->testGeometryMode(flag); }
|
||||
virtual void setGeometryMode(int flag, bool v=true) override { getGeoExt()->setGeometryMode(flag, v); }
|
||||
|
||||
// Convenience accessor
|
||||
bool getBlocked() const { return this->testGeometryMode(GeometryMode::Blocked);}
|
||||
void setBlocked(bool status = true) {this->setGeometryMode(GeometryMode::Blocked, status);}
|
||||
|
||||
bool isInternalAligned() const { return this->getInternalType() != InternalType::None; }
|
||||
|
||||
// Geometry Extension Information
|
||||
inline const std::string &getExtensionName () const {return SketchGeoExtension->getName();}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user