Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move color tags to the base geometrical object class.
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Tool.h
diff --git
a/src/HYDROData/HYDROData_Tool.h
b/src/HYDROData/HYDROData_Tool.h
index 04835c87ea0f3fba014aec73f3e32adae583f5bb..5b550ca2b5bf502c51fc83b9693ea6136b858183 100644
(file)
--- a/
src/HYDROData/HYDROData_Tool.h
+++ b/
src/HYDROData/HYDROData_Tool.h
@@
-59,6
+59,14
@@
public:
static HYDROData_SequenceOfObjects FindObjectsByNames( const Handle(HYDROData_Document)& theDoc,
const QStringList& theNames,
const ObjectKind theObjectKind = KIND_UNKNOWN );
static HYDROData_SequenceOfObjects FindObjectsByNames( const Handle(HYDROData_Document)& theDoc,
const QStringList& theNames,
const ObjectKind theObjectKind = KIND_UNKNOWN );
+
+ /**
+ * \brief Checks the type of object.
+ * \param theObject object to check
+ * \return true if object is geometry object
+ */
+ static bool IsGeometryObject( const Handle(HYDROData_Entity)& theObject );
+
};
inline bool ValuesEquals( const double& theFirst, const double& theSecond )
};
inline bool ValuesEquals( const double& theFirst, const double& theSecond )