mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 02:50:33 +05:00
fix indentation
This commit is contained in:
parent
aad1e960d8
commit
f730f2d36b
@ -61,7 +61,7 @@ typedef std::set<int> TSetOfInt;
|
|||||||
|
|
||||||
class SMESH_EXPORT SMESH_Gen
|
class SMESH_EXPORT SMESH_Gen
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESH_Gen();
|
SMESH_Gen();
|
||||||
~SMESH_Gen();
|
~SMESH_Gen();
|
||||||
|
|
||||||
@ -78,8 +78,8 @@ class SMESH_EXPORT SMESH_Gen
|
|||||||
bool Compute(::SMESH_Mesh & aMesh,
|
bool Compute(::SMESH_Mesh & aMesh,
|
||||||
const TopoDS_Shape & aShape,
|
const TopoDS_Shape & aShape,
|
||||||
const bool anUpward=false,
|
const bool anUpward=false,
|
||||||
const ::MeshDimension aDim=::MeshDim_3D,
|
const ::MeshDimension aDim=::MeshDim_3D,
|
||||||
TSetOfInt* aShapesId=0);
|
TSetOfInt* aShapesId=0);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief evaluates size of prospective mesh on a shape
|
* \brief evaluates size of prospective mesh on a shape
|
||||||
@ -89,8 +89,8 @@ class SMESH_EXPORT SMESH_Gen
|
|||||||
* \retval bool - is a success
|
* \retval bool - is a success
|
||||||
*/
|
*/
|
||||||
bool Evaluate(::SMESH_Mesh & aMesh,
|
bool Evaluate(::SMESH_Mesh & aMesh,
|
||||||
const TopoDS_Shape & aShape,
|
const TopoDS_Shape & aShape,
|
||||||
MapShapeNbElems& aResMap,
|
MapShapeNbElems& aResMap,
|
||||||
const bool anUpward=false,
|
const bool anUpward=false,
|
||||||
TSetOfInt* aShapesId=0);
|
TSetOfInt* aShapesId=0);
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ class SMESH_EXPORT SMESH_Gen
|
|||||||
*/
|
*/
|
||||||
void SetDefaultNbSegments(int nb) { _nbSegments = nb; }
|
void SetDefaultNbSegments(int nb) { _nbSegments = nb; }
|
||||||
int GetDefaultNbSegments() const { return _nbSegments; }
|
int GetDefaultNbSegments() const { return _nbSegments; }
|
||||||
|
|
||||||
struct TAlgoStateError
|
struct TAlgoStateError
|
||||||
{
|
{
|
||||||
TAlgoStateErrorName _name;
|
TAlgoStateErrorName _name;
|
||||||
@ -138,16 +138,6 @@ class SMESH_EXPORT SMESH_Gen
|
|||||||
SMESH_Algo* GetAlgo(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape, TopoDS_Shape* assignedTo=0);
|
SMESH_Algo* GetAlgo(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape, TopoDS_Shape* assignedTo=0);
|
||||||
static bool IsGlobalHypothesis(const SMESH_Hypothesis* theHyp, SMESH_Mesh& aMesh);
|
static bool IsGlobalHypothesis(const SMESH_Hypothesis* theHyp, SMESH_Mesh& aMesh);
|
||||||
|
|
||||||
// inherited methods from SALOMEDS::Driver
|
|
||||||
|
|
||||||
// void Save(int studyId, const char *aUrlOfFile);
|
|
||||||
// void Load(int studyId, const char *aUrlOfFile);
|
|
||||||
// void Close(int studyId);
|
|
||||||
// const char *ComponentDataType();
|
|
||||||
|
|
||||||
// const char *IORToLocalPersistentID(const char *IORString, bool & IsAFile);
|
|
||||||
// const char *LocalPersistentIDToIOR(const char *aLocalPersistentID);
|
|
||||||
|
|
||||||
int GetANewId();
|
int GetANewId();
|
||||||
|
|
||||||
std::map < int, SMESH_Algo * >_mapAlgo;
|
std::map < int, SMESH_Algo * >_mapAlgo;
|
||||||
@ -156,7 +146,7 @@ class SMESH_EXPORT SMESH_Gen
|
|||||||
std::map < int, SMESH_2D_Algo * >_map2D_Algo;
|
std::map < int, SMESH_2D_Algo * >_map2D_Algo;
|
||||||
std::map < int, SMESH_3D_Algo * >_map3D_Algo;
|
std::map < int, SMESH_3D_Algo * >_map3D_Algo;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
int _localId; // unique Id of created objects, within SMESH_Gen entity
|
int _localId; // unique Id of created objects, within SMESH_Gen entity
|
||||||
std::map < int, StudyContextStruct * >_mapStudyContext;
|
std::map < int, StudyContextStruct * >_mapStudyContext;
|
||||||
|
Loading…
Reference in New Issue
Block a user