X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Pattern.idl;h=6317019bfaf41fc787b1aaf09da7c136dbf82295;hp=1b626ad5e965fc44f97772d381347ddd9903e3eb;hb=d9a6e9d9f3e844703bbeb5cd6806bed6c2e9b615;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f diff --git a/idl/SMESH_Pattern.idl b/idl/SMESH_Pattern.idl index 1b626ad5e..6317019bf 100644 --- a/idl/SMESH_Pattern.idl +++ b/idl/SMESH_Pattern.idl @@ -79,11 +79,39 @@ module SMESH in GEOM::GEOM_Object theVertex000, in GEOM::GEOM_Object theVertex001); + /*! + * Compute nodes coordinates applying + * the loaded pattern to mesh faces. The first key-point + * will be mapped into -th node of each face + */ + point_array ApplyToMeshFaces(in SMESH_Mesh theMesh, + in long_array theFacesIDs, + in long theNodeIndexOnKeyPoint1, + in boolean theReverse); + + /*! + * Compute nodes coordinates applying + * the loaded pattern to hexahedrons. The (0,0,0) key-point + * will be mapped into -th node of each volume. + * The (0,0,1) key-point will be mapped into -th + * node of each volume. + */ + point_array ApplyToHexahedrons(in SMESH_Mesh theMesh, + in long_array theVolumesIDs, + in long theNode000Index, + in long theNode001Index); + /*! * Create nodes and elements in using nodes - * coordinates computed by either of Apply...() methods + * coordinates computed by either of Apply...() methods. + * If CreatePolygons is TRUE, replace adjacent faces by polygons + * to keep mesh conformity. + * If CreatePolyedrs is TRUE, replace adjacent volumes by polyedrs + * to keep mesh conformity. */ - boolean MakeMesh(in SMESH_Mesh theMesh); + boolean MakeMesh (in SMESH_Mesh theMesh, + in boolean CreatePolygons, + in boolean CreatePolyedrs); /*! * Return the loaded pattern in the string form to be saved in file @@ -112,6 +140,7 @@ module SMESH // Load(face) ERR_LOADF_NARROW_FACE, // too narrow face ERR_LOADF_CLOSED_FACE, // closed face + ERR_LOADF_CANT_PROJECT, // impossible to project nodes // Load(volume) ERR_LOADV_BAD_SHAPE, // volume is not a brick of 6 faces ERR_LOADV_COMPUTE_PARAMS, // cant compute point parameters @@ -152,8 +181,9 @@ module SMESH /*! * Return nodal connectivity of the elements of the pattern + * or of all elements to be crated */ - array_of_long_array GetElementPoints(); + array_of_long_array GetElementPoints(in boolean all); }; };