mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-06 14:50:34 +05:00
84 lines
2.0 KiB
C++
84 lines
2.0 KiB
C++
|
using namespace std;
|
||
|
//=============================================================================
|
||
|
// File : SMESH_3D_Algo.cxx
|
||
|
// Created : sam mai 18 09:24:52 CEST 2002
|
||
|
// Author : Paul RASCLE, EDF
|
||
|
// Project : SALOME
|
||
|
// Copyright : EDF 2002
|
||
|
// $Header$
|
||
|
//=============================================================================
|
||
|
using namespace std;
|
||
|
|
||
|
#include "SMESH_3D_Algo.hxx"
|
||
|
#include "SMESH_Gen.hxx"
|
||
|
|
||
|
#include "utilities.h"
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
SMESH_3D_Algo::SMESH_3D_Algo(int hypId, int studyId, SMESH_Gen* gen)
|
||
|
: SMESH_Algo(hypId, studyId, gen)
|
||
|
{
|
||
|
// _compatibleHypothesis.push_back("hypothese_3D_bidon");
|
||
|
_type = ALGO_3D;
|
||
|
gen->_map3D_Algo[hypId] = this;
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
SMESH_3D_Algo::~SMESH_3D_Algo()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
ostream & SMESH_3D_Algo::SaveTo(ostream & save)
|
||
|
{
|
||
|
return save << this;
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
istream & SMESH_3D_Algo::LoadFrom(istream & load)
|
||
|
{
|
||
|
return load >> (*this);
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
ostream& operator << (ostream & save, SMESH_3D_Algo & hyp)
|
||
|
{
|
||
|
return save;
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
/*!
|
||
|
*
|
||
|
*/
|
||
|
//=============================================================================
|
||
|
|
||
|
istream& operator >> (istream & load, SMESH_3D_Algo & hyp)
|
||
|
{
|
||
|
return load;
|
||
|
}
|