mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 21:21:21 +05:00

Cherrypick from master 2005-09-13 11:31:52 UTC jfa <jfa@opencascade.com> 'Rool-back bad changes to the script': idl/SMESH_Hypothesis.idl resources/mesh_hypo_edit.png resources/mesh_merge_elements.png src/Driver/Driver_Mesh.h src/Driver/Driver_SMESHDS_Mesh.h src/DriverMED/DriverMED_Family.cxx src/SMDS/SMDS_EdgePosition.hxx src/SMDS/SMDS_FacePosition.hxx src/SMDS/SMDS_Mesh.cxx src/SMDS/SMDS_Mesh.hxx src/SMDS/SMDS_MeshElement.hxx src/SMDS/SMDS_MeshGroup.hxx src/SMDS/SMDS_MeshNode.hxx src/SMDS/SMDS_MeshObject.hxx src/SMDS/SMDS_PolyhedralVolumeOfNodes.cxx src/SMDS/SMDS_PolyhedralVolumeOfNodes.hxx src/SMDS/SMDS_Position.hxx src/SMDS/SMDS_SpacePosition.hxx src/SMDS/SMDS_VertexPosition.hxx src/SMESH/SMESH_HypoFilter.cxx src/SMESH/SMESH_HypoFilter.hxx src/SMESHDS/SMESHDS_Mesh.cxx src/SMESHDS/SMESHDS_SubMesh.cxx src/SMESHDS/SMESHDS_SubMesh.hxx src/SMESHGUI/SMESHGUI.cxx src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx src/SMESHGUI/SMESHGUI_GroupDlg.cxx src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx src/SMESHGUI/SMESHGUI_Selection.cxx src/SMESHGUI/SMESHGUI_VTKUtils.cxx src/SMESH_I/SMESH_1D_Algo_i.cxx src/SMESH_I/SMESH_1D_Algo_i.hxx src/SMESH_I/SMESH_2D_Algo_i.cxx src/SMESH_I/SMESH_2D_Algo_i.hxx src/SMESH_I/SMESH_3D_Algo_i.cxx src/SMESH_I/SMESH_3D_Algo_i.hxx src/SMESH_I/SMESH_Mesh_i.hxx src/SMESH_I/SMESH_subMesh_i.cxx src/SMESH_I/SMESH_subMesh_i.hxx src/SMESH_SWIG/Makefile.in src/SMESH_SWIG/SMESH_test.py src/StdMeshers/StdMeshers_Hexa_3D.cxx src/StdMeshers/StdMeshers_MEFISTO_2D.cxx src/StdMeshers/StdMeshers_Penta_3D.cxx src/StdMeshers_I/StdMeshers_Arithmetic1D_i.hxx src/StdMeshers_I/StdMeshers_Deflection1D_i.hxx src/StdMeshers_I/StdMeshers_LengthFromEdges_i.cxx src/StdMeshers_I/StdMeshers_LengthFromEdges_i.hxx src/StdMeshers_I/StdMeshers_LocalLength_i.hxx src/StdMeshers_I/StdMeshers_MaxElementArea_i.hxx src/StdMeshers_I/StdMeshers_MaxElementVolume_i.hxx src/StdMeshers_I/StdMeshers_NotConformAllowed_i.cxx src/StdMeshers_I/StdMeshers_NotConformAllowed_i.hxx src/StdMeshers_I/StdMeshers_Propagation_i.cxx src/StdMeshers_I/StdMeshers_Propagation_i.hxx src/StdMeshers_I/StdMeshers_StartEndLength_i.hxx
90 lines
2.5 KiB
C++
90 lines
2.5 KiB
C++
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
|
|
//
|
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
//
|
|
// This library is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
// License as published by the Free Software Foundation; either
|
|
// version 2.1 of the License.
|
|
//
|
|
// This library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
// License along with this library; if not, write to the Free Software
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
//
|
|
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
|
|
//
|
|
//
|
|
//
|
|
// File : SMESH_1D_Algo_i.cxx
|
|
// Author : Paul RASCLE, EDF
|
|
// Module : SMESH
|
|
// $Header$
|
|
|
|
using namespace std;
|
|
#include "SMESH_1D_Algo_i.hxx"
|
|
|
|
#include "utilities.h"
|
|
|
|
//=============================================================================
|
|
/*!
|
|
* SMESH_1D_Algo_i::SMESH_1D_Algo_i
|
|
*
|
|
* Constructor
|
|
*/
|
|
//=============================================================================
|
|
|
|
SMESH_1D_Algo_i::SMESH_1D_Algo_i( PortableServer::POA_ptr thePOA )
|
|
: SALOME::GenericObj_i( thePOA ),
|
|
SMESH_Hypothesis_i( thePOA ),
|
|
SMESH_Algo_i( thePOA )
|
|
{
|
|
MESSAGE( "SMESH_1D_Algo_i::SMESH_1D_Algo_i" );
|
|
}
|
|
|
|
//=============================================================================
|
|
/*!
|
|
* SMESH_1D_Algo_i::~SMESH_1D_Algo_i
|
|
*
|
|
* Destructor
|
|
*/
|
|
//=============================================================================
|
|
|
|
SMESH_1D_Algo_i::~SMESH_1D_Algo_i()
|
|
{
|
|
MESSAGE( "SMESH_1D_Algo_i::~SMESH_1D_Algo_i" );
|
|
}
|
|
|
|
//================================================================================
|
|
/*!
|
|
* \brief Verify whether algorithm supports given entity type
|
|
* \param type - dimension (see SMESH::Dimension enumeration)
|
|
* \retval CORBA::Boolean - TRUE if dimension is supported, FALSE otherwise
|
|
*
|
|
* Verify whether algorithm supports given entity type (see SMESH::Dimension enumeration)
|
|
*/
|
|
//================================================================================
|
|
CORBA::Boolean SMESH_1D_Algo_i::IsDimSupported( SMESH::Dimension type )
|
|
{
|
|
return type == SMESH::DIM_1D;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|