From: eap Date: Tue, 20 Feb 2007 09:24:33 +0000 (+0000) Subject: PAL13504 (Mesh from an imported mesh) X-Git-Tag: V3_2_6a1~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=83d70f30cc27017d61ddee49151f166b19146d6e;p=modules%2Fsmesh.git PAL13504 (Mesh from an imported mesh) + boolean HasShapeToMesh() PAL13903 (SMESH Extrusion along a path , linear variation of the angles) + double_array LinearAnglesVariation() --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index e8cd6bdff..97ec326e3 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -180,31 +180,27 @@ module SMESH interface SMESH_MeshEditor; interface SMESH_Mesh : SALOME::GenericObj, SMESH_IDSource { - ///*! - // * Associate a Shape to a Mesh created with NewEmpty - // */ - //boolean SetMesh(in GEOM::GEOM_Object anObject) - // raises (SALOME::SALOME_Exception); + /*! + * Return true if there is a geometry to be meshed + */ + boolean HasShapeToMesh() + raises (SALOME::SALOME_Exception); /*! - * Get the subMesh object associated to a subShape. The subMesh object - * gives access to nodes and elements IDs. - * SubMesh will be used instead of SubShape in a next idl version to - * adress a specific subMesh... + * Get geom shape to mesh. A result sould not be nil. Use HasShapeToMesh() + * to know if a returned shape */ - SMESH_subMesh GetSubMesh(in GEOM::GEOM_Object aSubObject, in string name) + GEOM::GEOM_Object GetShapeToMesh() raises (SALOME::SALOME_Exception); - ///*! - // * Create a subMesh without reference to a subShape - // */ - //SMESH_subMesh NewEmpty() - // raises (SALOME::SALOME_Exception); /*! - * Get geom shape to mesh. A result may be nil + * Get the subMesh object associated to a subShape. The subMesh object + * gives access to nodes and elements IDs. + * SubMesh will be used instead of SubShape in a next idl version to + * adress a specific subMesh... */ - GEOM::GEOM_Object GetShapeToMesh() + SMESH_subMesh GetSubMesh(in GEOM::GEOM_Object aSubObject, in string name) raises (SALOME::SALOME_Exception); /*! @@ -213,6 +209,7 @@ module SMESH void RemoveSubMesh(in SMESH_subMesh aSubMesh) raises (SALOME::SALOME_Exception); + /*! * Create a group */ @@ -883,6 +880,18 @@ module SMESH in boolean HasRefPoint, in PointStruct RefPoint); + /*! + * Compute rotation angles for ExtrusionAlongPath as linear variation + * of given angles along path steps + * param PathMesh mesh containing a 1D sub-mesh on the edge, along + * which proceeds the extrusion + * param PathShape is shape(edge); as the mesh can be complex, the edge + * is used to define the sub-mesh for the path + */ + double_array LinearAnglesVariation(in SMESH_Mesh PathMesh, + in GEOM::GEOM_Object PathShape, + in double_array Angles); + enum MirrorType { POINT, AXIS, PLANE }; void Mirror (in long_array IDsOfElements,