MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd104.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD104_H__)
6 #define __MGIGESPD104_H__
7 
8 #include <vector>
9 #include "mgiges/IgesPD.h"
10 
12 class MGIgesPD104: public MGIgesPD{
13 public:
14  // Constructors.
15 
18 
21  const double coef[6],
22  double Zt,
23  const double start[2],
24  const double terminate[2]
25 
26  );
27 
30 
32  void read_in(
33  char pDelimeter,
34  std::istringstream& pdstream
35  );
36 
44  const MGIgesGSec& gsec,
45  MGPvector<std::string>& plines
46  )const;
47 
48 //Member data. These are set as public.
49 
50  double m_coef[6];
51  double m_Zt;
53  double m_X1, m_Y1;
54  double m_X2, m_Y2;
55 };
56 
57 #endif // __MGIGESPD104_H__
MGIgesPD104(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD104.
~MGIgesPD104()
Destructor;.
Definition: igespd104.h:29
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
double m_Zt
Z coordinate of (x,y) plane of the above equation.
Definition: igespd104.h:52
double m_X2
Definition: igespd104.h:54
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
double m_Y2
the terminate point coordinate of the conic arc in (x,y) plane.
Definition: igespd104.h:54
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
double m_X1
Definition: igespd104.h:53
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
double m_coef[6]
Let m_coef[]={A,B,C,D,E,F}, then A*x**2+B*x*y+C*y**2+D*x+E*y+F=0.
Definition: igespd104.h:50
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
double m_Y1
the start point coordinate of the conic arc in (x,y) plane.
Definition: igespd104.h:53
Defines Vector of newed object pointers.
Definition: Pvector.h:27
MGIgesPD104 is the class for Iges parameter data type 104(conic arc).
Definition: igespd104.h:12