mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 08:50:36 +05:00
Define IsParametrical and BreakLinks methods
This commit is contained in:
parent
b654dab419
commit
e2fe8c1360
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user