mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-22 18:47:55 +05:00
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
move struct uvPtStruct from StdMeshers_FaceSide
This commit is contained in:
parent
cf56ad7e8d
commit
6d69062419
@ -119,6 +119,28 @@ struct SMESH_TNodeXYZ : public gp_XYZ
|
|||||||
bool operator==(const SMESH_TNodeXYZ& other) const { return _node == other._node; }
|
bool operator==(const SMESH_TNodeXYZ& other) const { return _node == other._node; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--------------------------------------------------
|
||||||
|
/*!
|
||||||
|
* \brief Data of a node generated on FACE boundary
|
||||||
|
*/
|
||||||
|
//--------------------------------------------------
|
||||||
|
typedef struct uvPtStruct
|
||||||
|
{
|
||||||
|
double param;
|
||||||
|
double normParam;
|
||||||
|
double u, v; // original 2d parameter
|
||||||
|
double x, y; // 2d parameter, normalized [0,1]
|
||||||
|
const SMDS_MeshNode * node;
|
||||||
|
|
||||||
|
struct NodeAccessor // accessor to iterate on nodes in UVPtStructVec
|
||||||
|
{
|
||||||
|
static const SMDS_MeshNode* value(std::vector< uvPtStruct >::const_iterator it)
|
||||||
|
{ return it->node; }
|
||||||
|
};
|
||||||
|
} UVPtStruct;
|
||||||
|
|
||||||
|
typedef std::vector< UVPtStruct > UVPtStructVec;
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
// class SMESH_SequenceOfElemPtr
|
// class SMESH_SequenceOfElemPtr
|
||||||
#include <NCollection_DefineSequence.hxx>
|
#include <NCollection_DefineSequence.hxx>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user