mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 02:20:34 +05:00
For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct 2) Make CheckNbEdges() public
This commit is contained in:
parent
9462051381
commit
0df1e71b77
@ -792,6 +792,7 @@ FaceQuadStruct* StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh & aMes
|
||||
FaceQuadStruct* quad = new FaceQuadStruct;
|
||||
quad->uv_grid = 0;
|
||||
quad->side.reserve(nbEdgesInWire.front());
|
||||
quad->face = F;
|
||||
|
||||
int nbSides = 0;
|
||||
list< TopoDS_Edge >::iterator edgeIt = edges.begin();
|
||||
|
@ -51,6 +51,7 @@ typedef struct faceQuadStruct
|
||||
std::vector< StdMeshers_FaceSide*> side;
|
||||
bool isEdgeOut[4]; // true, if an edge has more nodes, than the opposite
|
||||
UVPtStruct* uv_grid;
|
||||
TopoDS_Face face;
|
||||
~faceQuadStruct();
|
||||
} FaceQuadStruct;
|
||||
|
||||
@ -74,11 +75,11 @@ public:
|
||||
const TopoDS_Shape& aShape,
|
||||
const bool CreateQuadratic);
|
||||
|
||||
protected:
|
||||
|
||||
FaceQuadStruct* CheckNbEdges(SMESH_Mesh& aMesh,
|
||||
const TopoDS_Shape& aShape);
|
||||
|
||||
protected:
|
||||
|
||||
bool CheckNbEdgesForEvaluate(SMESH_Mesh& aMesh,
|
||||
const TopoDS_Shape & aShape,
|
||||
MapShapeNbElems& aResMap,
|
||||
|
Loading…
Reference in New Issue
Block a user