Define IsParametrical and BreakLinks methods

This commit is contained in:
vsv 2019-12-20 15:54:12 +03:00
parent b654dab419
commit e2fe8c1360
2 changed files with 16 additions and 0 deletions

View File

@ -509,6 +509,17 @@ module GEOM
*/
GEOM_Object GetMainShape();
/*
* \brief Returns true if the current object has connection to a parametrical model
* which can be modified by parameters change.
*/
boolean IsParametrical();
/*
* \brief Breaks links to parametrical mode for parametrical shape
*/
void BreakLinks();
};
//# GEOM_Field

View File

@ -81,6 +81,11 @@ class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public
virtual bool IsShape();
virtual bool IsParametrical() { return false; }
virtual void BreakLinks() {}
Handle(::GEOM_Object) GetImpl() { return _impl; }
private: