0020279: [CEA 334] control the "random" use when using mesh algorithms

sort faces by IDs
This commit is contained in:
eap 2009-05-19 15:41:19 +00:00
parent 318d07b4db
commit c8e501d713

View File

@ -48,15 +48,15 @@ public:
bool Compute(SMESH_Mesh& aMesh);
std::list<const SMDS_FaceOfNodes*> GetTriangles(const SMDS_MeshElement* aFace);
const std::list<const SMDS_FaceOfNodes*>* 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<const SMDS_MeshNode*>& 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<const SMDS_FaceOfNodes*> > myResMap;
std::map< const SMDS_MeshElement*, const SMDS_MeshElement* > myMapFPyram;
TF2PyramMap myMapFPyram;
std::list< const SMDS_MeshNode* > myDegNodes;
};