mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
PAL13504 (Mesh from an imported mesh)
add HasShapeToMesh()
This commit is contained in:
parent
331304764c
commit
4d51ac9fcb
@ -143,6 +143,24 @@ void SMESH_Mesh_i::SetShape( GEOM::GEOM_Object_ptr theShapeObject )
|
||||
}
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief return true if mesh has a shape to build a shape on
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
CORBA::Boolean SMESH_Mesh_i::HasShapeToMesh()
|
||||
throw (SALOME::SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SALOME_SalomeException);
|
||||
try {
|
||||
_impl->HasShapeToMesh();
|
||||
}
|
||||
catch(SALOME_Exception & S_ex) {
|
||||
THROW_SALOME_CORBA_EXCEPTION(S_ex.what(), SALOME::BAD_PARAM);
|
||||
}
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetShapeToMesh
|
||||
//purpose :
|
||||
|
@ -65,6 +65,9 @@ public:
|
||||
void SetShape( GEOM::GEOM_Object_ptr theShapeObject )
|
||||
throw (SALOME::SALOME_Exception);
|
||||
|
||||
CORBA::Boolean HasShapeToMesh()
|
||||
throw (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::GEOM_Object_ptr GetShapeToMesh()
|
||||
throw (SALOME::SALOME_Exception);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user