MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd141.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD141_H__)
6 #define __MGIGESPD141_H__
7 
8 #include <vector>
9 #include "mgiges/IgesPD.h"
10 
12 //A Private class for MGIges141Edge, express one IGES edge for IGES boundary.
13 class MGIges141Edge{
14 public:
15  MGIges141Edge(
16  int curve_DE=0,
17  int sense=1
18  ):m_curve_DE(curve_DE), m_sense(sense){;};
19 
20  void push_back_pcurve(int pcurve_DE){m_pcurves.push_back(pcurve_DE);};
21 
22 public:
23  int m_curve_DE;
24  int m_sense;
25  std::vector<int> m_pcurves;
29 };
32 
34 class MGIgesPD141: public MGIgesPD{
35 public:
36  // Constructors.
37 
40 
43 
45  void read_in(
46  char pDelimeter,
47  std::istringstream& pdstream
48  );
49 
57  const MGIgesGSec& gsec,
58  MGPvector<std::string>& plines
59  )const;
60 
61 public:
63 
64  short m_type;
65  short m_prefered;
69  int m_surface_DE;
71  std::vector<MGIges141Edge> m_edges;
72 };
73 
74 #endif // __MGIGESPD141_H__
short m_type
Member data.
Definition: igespd141.h:64
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
std::vector< MGIges141Edge > m_edges
vector of MGIges141Edge.
Definition: igespd141.h:71
MGIgesPD141 is the class for Iges parameter data type 141(BOUNDARY entity).
Definition: igespd141.h:34
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
short m_prefered
=0:Unspecified, =1:Model space, =2: Parameter space, =3:of equal preference.
Definition: igespd141.h:68
int m_surface_DE
Directory entry of the untrimmed surface(base surface).
Definition: igespd141.h:70
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
~MGIgesPD141()
Destructor;.
Definition: igespd141.h:42
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
Defines Vector of newed object pointers.
Definition: Pvector.h:27
MGIgesPD141(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD141.