bool IsNeighbor( const TNode& other ) const;
TNode(const SMDS_MeshNode* node = 0): myNode(node), myParams(-1,-1,-1) {}
- bool operator < (const TNode& other) const { return myNode < other.myNode; }
+ bool operator < (const TNode& other) const { return myNode->GetID() < other.myNode->GetID(); }
};
// ===============================================================
TopoDS_Edge myBaseEdge;
// first and last normalized params and orientaion for each component or it-self
std::vector< std::pair< double, double> > myParams;
- bool myIsForward;
- std::vector< TSideFace* > myComponents;
- SMESH_MesherHelper * myHelper;
+ bool myIsForward;
+ std::vector< TSideFace* > myComponents;
+ SMESH_MesherHelper * myHelper;
public:
TSideFace( SMESH_MesherHelper* helper,
const int faceID,
myError = SMESH_ComputeError::New(error,comment);
return myError->IsOK();
}
- //vector< SMESH_subMesh* > mySubMeshesVec; // submesh by in-block id
+ //std::vector< SMESH_subMesh* > mySubMeshesVec; // submesh by in-block id
};
// =============================================
StdMeshers_PrismAsBlock myBlock;
SMESH_MesherHelper* myHelper;
- std::vector<gp_XYZ> myShapeXYZ; // point on each sub-shape
+ std::vector<gp_XYZ> myShapeXYZ; // point on each sub-shape
// map of bottom nodes to the column of nodes above them
// (the column includes the bottom node)
- typedef std::map< TNode, TNodeColumn > TNode2ColumnMap;
- TNode2ColumnMap myBotToColumnMap;
+ TNode2ColumnMap myBotToColumnMap;
};
#endif