module SMESH
{
+ typedef sequence<SALOMEDS::SObject> sobject_list;
typedef sequence<GEOM::GEOM_Object> object_array;
typedef sequence<SMESH_Mesh> mesh_array;
COMPERR_BAD_SHAPE , // bad geometry
COMPERR_WARNING , // algo reports error but sub-mesh is computed anyway
COMPERR_CANCELED , // compute canceled
- COMPERR_NO_MESH_ON_SHAPE // no mesh elements assigned to sub-mesh
+ COMPERR_NO_MESH_ON_SHAPE,// no mesh elements assigned to sub-mesh
+ COMPERR_BAD_PARMETERS // incorrect hypotheses parameters
};
struct ComputeError
{
* \brief Get names of meshes defined in file with the specified name.
*/
string_array GetMeshNames(in string theFileName);
+
+ /*!
+ * \brief Moves objects to the specified position
+ *
+ * This function is used in the drag-n-drop functionality.
+ *
+ * \param what objects being moved
+ * \param where parent object where objects are moved to
+ * \param row position in the parent object's children list at which objects are moved
+ */
+ void Move( in sobject_list what,
+ in SALOMEDS::SObject where,
+ in long row );
};
};