MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd142.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD142_H__)
6 #define __MGIGESPD142_H__
7 
8 #include "mgiges/IgesIfstream.h"
9 #include "mgiges/IgesOfstream.h"
10 #include "mgiges/IgesPD.h"
11 class MGLoop;
12 
14 class MGIgesPD142: public MGIgesPD{
15 public:
16  // Constructors.
17 
20 
23  const MGLoop& loop,
24  int surface_DE,
25  MGIgesOfstream& igesfile
26  );
27 
30 
32  void read_in(
33  char pDelimeter,
34  std::istringstream& pdstream
35  );
36 
38  void trim_face(
39  const MGIgesIfstream& igesifstrm,
40  std::auto_ptr<MGFace>& face,
41  bool outer=true
42  )const;
43 
51  const MGIgesGSec& gsec,
52  MGPvector<std::string>& plines
53  )const;
54 
55 public:
56 //Member data.
57 
59  short m_prefered;
64  int m_surface_DE;
71 };
72 
73 #endif // __MGIGESPD142_H__
int m_model_curve_DE
Directory entry of the curve(in the model space).
Definition: igespd142.h:70
~MGIgesPD142()
Destructor;.
Definition: igespd142.h:29
short m_created_way
Definition: igespd142.h:58
int m_param_curve_DE
Directory entry of the parametric space curve of the surface.
Definition: igespd142.h:69
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
MGIgesIfstream read in *.iges; *.igs file, transforming IGES objects to MGCL objects.
Definition: IgesIfstream.h:43
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
MGIgesPD142 is the class for Iges parameter data type 142(Curve on parameteric space).
Definition: igespd142.h:14
MGIgesPD142(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD142.
MGLoop is a boundary of a face, a boundary of 2D manifold cell.
Definition: Loop.h:44
void trim_face(const MGIgesIfstream &igesifstrm, std::auto_ptr< MGFace > &face, bool outer=true) const
Obtain both the parametric space curve of the surface and the model space curve.
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
MGOgesIfstream write out to *.iges file, transforming MGCL objects to IGES objects.
Definition: IgesOfstream.h:26
int m_surface_DE
Directory entry of the surface on which the curve lies.
Definition: igespd142.h:68
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
short m_prefered
Definition: igespd142.h:63