X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_QuadToTriaAdaptor.hxx;h=89d747cbe00365a7e60ae89323accab7f6364c6d;hp=1e2ed138fe81ffff51f1c016b9aca95852656f39;hb=c8e501d713b8ffd94e05015411434365c0d3765d;hpb=318d07b4db4d3ae7ad912d58c0d7fa147e118b62 diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx index 1e2ed138f..89d747cbe 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx @@ -48,15 +48,15 @@ public: bool Compute(SMESH_Mesh& aMesh); - std::list GetTriangles(const SMDS_MeshElement* aFace); + const std::list* GetTriangles(const SMDS_MeshElement* aFace); protected: //bool CheckDegenerate(const SMDS_MeshElement* aFace); int Preparation(const SMDS_MeshElement* face, - Handle(TColgp_HArray1OfPnt) PN, - Handle(TColgp_HArray1OfVec) VN, + Handle(TColgp_HArray1OfPnt)& PN, + Handle(TColgp_HArray1OfVec)& VN, std::vector& FNodes, gp_Pnt& PC, gp_Vec& VNorm); @@ -67,8 +67,10 @@ protected: bool Compute2ndPart(SMESH_Mesh& aMesh); + typedef std::map< const SMDS_MeshElement*, const SMDS_MeshElement*, TIDCompare > TF2PyramMap; + std::map< const SMDS_MeshElement*, std::list > myResMap; - std::map< const SMDS_MeshElement*, const SMDS_MeshElement* > myMapFPyram; + TF2PyramMap myMapFPyram; std::list< const SMDS_MeshNode* > myDegNodes; };