]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
authoreap <eap@opencascade.com>
Wed, 26 Jan 2011 14:08:42 +0000 (14:08 +0000)
committereap <eap@opencascade.com>
Wed, 26 Jan 2011 14:08:42 +0000 (14:08 +0000)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public

src/StdMeshers/StdMeshers_Quadrangle_2D.cxx
src/StdMeshers/StdMeshers_Quadrangle_2D.hxx

index 174a2441128de1ef6d992212dd4f9a75eebd0246..8dfaf24c1126adbb914d4e9072ebd68470412fca 100644 (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();
index 56741ec764f008fdaea8731d81e083a5a9035355..ed22821a9766f0b60409844c58ac9d186b012990 100644 (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,