X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Mesh.idl;h=fff0c51208e520826e4de5c40fdcfa9b16f73936;hp=b27bff80d9ad510f221182c8c32166549ada7f3e;hb=35c05cab652a5167972b9588db81fc4a2a9361b5;hpb=4592fecfcf7f19fbb7650f63c49947e0ac9b108b diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index b27bff80d..fff0c5120 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -111,10 +111,10 @@ module SMESH { ALL, NODE, - ELEM0D, EDGE, FACE, - VOLUME + VOLUME, + ELEM0D }; /*! @@ -143,6 +143,37 @@ module SMESH ORDER_QUADRATIC /*! entities of 2nd order */ }; + + /*! + * Enumeration of entity type uses in mesh info array, + * and should be synchronised with enum in SMDS + */ + enum EntityType + { + Entity_Node, + Entity_0D, + Entity_Edge, + Entity_Quad_Edge, + Entity_Triangle, + Entity_Quad_Triangle, + Entity_Quadrangle, + Entity_Quad_Quadrangle, + Entity_Polygon, + Entity_Quad_Polygon, + Entity_Tetra, + Entity_Quad_Tetra, + Entity_Pyramid, + Entity_Quad_Pyramid, + Entity_Hexa, + Entity_Quad_Hexa, + Entity_Penta, + Entity_Quad_Penta, + Entity_Polyhedra, + Entity_Quad_Polyhedra, + Entity_Last + }; + + /*! * Enumeration for hypothesis status (used by AddHypothesis() and RemoveHypothesis() methods) */ @@ -220,6 +251,12 @@ module SMESH * Returns a sequence of all element IDs */ long_array GetIDs(); + + /*! + * Returns statistic of mesh elements + * Result array of number enityties + */ + long_array GetMeshInfo(); }; interface SMESH_Group;