From c52ed61b6f5be1302e2bc5ed8adc6700a4cd2f02 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 6 Dec 2006 16:19:10 +0000 Subject: [PATCH 1/1] PAL13473 (Build repetitive mesh): 1) add a new Hypothesis_Status 2) long_array GetElemNodes(in long id); --- idl/SMESH_Mesh.idl | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index ced9d8898..bd524b800 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -127,7 +127,8 @@ module SMESH HYP_NOTCONFORM, // not conform mesh is produced appling a hypothesis HYP_ALREADY_EXIST,// such hypothesis already exist 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 // geometry mismatches algorithm's expectation }; /*! @@ -526,6 +527,11 @@ module SMESH */ long GetElemNbNodes(in long id); + /*! + * Returns IDs of nodes of given element + */ + long_array GetElemNodes(in long id); + /*! * Returns ID of node by given index for given element * If there is not element for given ID - returns -1 @@ -649,7 +655,7 @@ module SMESH long AddNode(in double x, in double y, in double z); /*! - * Create edge both similar and quadratic (this is determed + * Create edge, either linear and quadratic (this is determed * by number of given nodes). * \param IdsOfNodes List of node IDs for creation of element. * Needed order of nodes in this list corresponds to description @@ -659,7 +665,7 @@ module SMESH long AddEdge(in long_array IDsOfNodes); /*! - * Create face both similar and quadratic (this is determed + * Create face, either linear and quadratic (this is determed * by number of given nodes). * \param IdsOfNodes List of node IDs for creation of element. * Needed order of nodes in this list corresponds to description @@ -671,7 +677,7 @@ module SMESH long AddPolygonalFace(in long_array IdsOfNodes); /*! - * Create volume both similar and quadratic (this is determed + * Create volume, either linear and quadratic (this is determed * by number of given nodes). * \param IdsOfNodes List of node IDs for creation of element. * Needed order of nodes in this list corresponds to description -- 2.39.2