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:
eap 2011-01-26 14:08:42 +00:00
parent 9462051381
commit 0df1e71b77
2 changed files with 4 additions and 2 deletions

View File

@ -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();

View File

@ -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,