mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
[SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
enum Hypothesis_Status // in the order of severity { + HYP_NEED_SHAPE // algorithm can work on shape only
This commit is contained in:
parent
58f17329c5
commit
6f8dc08854
@ -55,7 +55,8 @@ public:
|
|||||||
HYP_ALREADY_EXIST,// such hypothesis already exist
|
HYP_ALREADY_EXIST,// such hypothesis already exist
|
||||||
HYP_BAD_DIM, // bad dimension
|
HYP_BAD_DIM, // bad dimension
|
||||||
HYP_BAD_SUBSHAPE, // shape is neither the main one, nor its subshape, nor a group
|
HYP_BAD_SUBSHAPE, // shape is neither the main one, nor its subshape, nor a group
|
||||||
HYP_BAD_GEOMETRY // shape geometry mismatches algorithm's expectation
|
HYP_BAD_GEOMETRY, // shape geometry mismatches algorithm's expectation
|
||||||
|
HYP_NEED_SHAPE // algorithm can work on shape only
|
||||||
};
|
};
|
||||||
static bool IsStatusFatal(Hypothesis_Status theStatus)
|
static bool IsStatusFatal(Hypothesis_Status theStatus)
|
||||||
{ return theStatus >= HYP_UNKNOWN_FATAL; }
|
{ return theStatus >= HYP_UNKNOWN_FATAL; }
|
||||||
|
Loading…
Reference in New Issue
Block a user