MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
iges504EdgeListMap.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGES504EdgeListMap_H__)
6 #define __MGIGES504EdgeListMap_H__
7 
8 #include <map>
9 #include <vector>
10 #include "mg/Pvector.h"
11 #include "topo/Edge.h"
12 #include "mgIges/igesPD504.h"
13 class MGIgesIfstream;
14 
17 public:
18 
21  typedef std::map<const MGIgesPD504*,int> PD504toEdgesMap;
22 
25  MGIges504EdgeListMap(MGIgesIfstream* ifs=0):m_ifstream(ifs){;};
26 
30  int DEid,
31  int edge
32  );
33 
34  void set_ifstream(MGIgesIfstream* ifs){m_ifstream=ifs;};
35 
37 private:
38 
39  MGIgesIfstream* m_ifstream;
40 
43  PD504toEdgesMap m_PD504PtoVecID;
44 
49  std::vector< std::vector<MGEdge*> > m_EdgesVector;
50 };
51 
52 #endif // __MGIGES504EdgeListMap_H__
std::map< const MGIgesPD504 *, int > PD504toEdgesMap
Definition: iges504EdgeListMap.h:21
MGEdge is an instance of MGCellNB, represents a boundary element of 2D manifold.
Definition: Edge.h:33
MGIgesIfstream read in *.iges; *.igs file, transforming IGES objects to MGCL objects.
Definition: IgesIfstream.h:43
void set_ifstream(MGIgesIfstream *ifs)
Definition: iges504EdgeListMap.h:34
MGIges504EdgeListMap(MGIgesIfstream *ifs=0)
Definition: iges504EdgeListMap.h:25
MGEdge * get_egde(int DEid, int edge)
Is the class to store MGEdge*(newed objects) generated for MGIges504 EDGE list.
Definition: iges504EdgeListMap.h:16