MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd123.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD123_H__)
6 #define __MGIGESPD123_H__
7 
8 #include "mgiges/IgesPD.h"
9 
10 class MGVector;
11 
13 class MGIgesPD123: public MGIgesPD{
14 public:
15  // Constructors.
16 
19 
21  MGIgesPD123(const MGVector& vec);
22 
25 
27  void read_in(
28  char pDelimeter,
29  std::istringstream& pdstream
30  );
31 
33  void convert_to_vector(MGVector& direction)const;
34 
42  const MGIgesGSec& gsec,
43  MGPvector<std::string>& plines
44  )const;
45 
46 private:
47  //Member data. These are set as public.
48 
49  double m_xyz[3];
50 };
51 
52 #endif // __MGIGESPD123_H__
MGIgesPD123(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD123.
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
~MGIgesPD123()
Destructor;.
Definition: igespd123.h:24
Vector of a general n space dimension.
Definition: Vector.h:26
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesPD123 is the class for Iges parameter data type 123(DIRECTION).
Definition: igespd123.h:13
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
void convert_to_vector(MGVector &direction) const
Convert the direction data to MGVector direction.