+ boolean Compute( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Cancel a computation.
+ */
+ void CancelCompute( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject );
+
+ /*!
+ * Return true if hypotheses are defined well
+ */
+ boolean IsReadyToCompute( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Evaluates size of prospective mesh on a shape
+ */
+ long_array Evaluate(in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject)
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Calculate Mesh as preview till indicated dimension
+ * First, verify list of hypothesis associated with the Sub-shape.
+ * Return mesh preview structure
+ */
+ MeshPreviewStruct Precompute( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject,
+ in Dimension theDimension,
+ inout long_array theShapesId )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return errors of hypotheses definintion
+ * algo_error_array is empty if everything is OK
+ */
+ algo_error_array GetAlgoState( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return errors of mesh computation
+ * compute_error_array is empty if everything is OK
+ */
+ compute_error_array GetComputeErrors( in SMESH_Mesh theMesh,
+ in GEOM::GEOM_Object theSubObject )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return mesh elements preventing computation of a sub-shape
+ */
+ MeshPreviewStruct GetBadInputElements( in SMESH_Mesh theMesh,
+ in short theSubShapeID )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Create groups of elements preventing computation of a sub-shape
+ */
+ SMESH::ListOfGroups MakeGroupsOfBadInputElements( in SMESH_Mesh theMesh,
+ in short theSubShapeID,
+ in string theGroupName)
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return indices of faces, edges and vertices of given sub-shapes
+ * within theMainObject
+ */
+ long_array GetSubShapesId( in GEOM::GEOM_Object theMainObject,
+ in object_array theListOfSubObjects )
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return geometrical object the given element is built on.
+ * The returned geometrical object, if not nil, is either found in the
+ * study or is published by this method with the given name
+ */
+ GEOM::GEOM_Object GetGeometryByMeshElement( in SMESH_Mesh theMesh,
+ in long theElementID,
+ in string theGeomName)
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * Return geometrical object the given element is built on.
+ * The returned geometrical object not published in study by this method.
+ */
+ GEOM::GEOM_Object FindGeometryByMeshElement( in SMESH_Mesh theMesh,
+ in long theElementID)
+ raises ( SALOME::SALOME_Exception );
+
+ /*!
+ * \brief Return id of object, registered in current study context
+ *
+ * Can be used to check if the object was created in the same container, as this engine.
+ */
+ long GetObjectId(in Object theObject);