MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igesPD158.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD158_H__)
6 #define __MGIGESPD158_H__
7 
8 #include <vector>
9 #include "mg/Sphere.h"
10 #include "mgiges/IgesPD.h"
11 
13 class MGIgesPD158: public MGIgesPD{
14 public:
15  // Constructors.
16 
19 
21  MGIgesPD158(const MGSphere& sphere);
22 
25 
27  void read_in(
28  char pDelimeter,
29  std::istringstream& pdstream
30  );
31 
39  const MGIgesGSec& gsec,
40  MGPvector<std::string>& plines
41  )const;
42 
43 public:
44 //Member data. These are set as public.
45 
46  double m_radius;
47  double m_center[3];
48 };
49 
50 #endif // __MGIGESPD158_H__
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
double m_center[3]
center coordinates of the sphere.
Definition: igesPD158.h:47
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
~MGIgesPD158()
Destructor;.
Definition: igesPD158.h:24
MGSphere is a Sphere in 3D space.
Definition: Sphere.h:42
double m_radius
radius of the sphere.
Definition: igesPD158.h:46
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesPD158(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD158.
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
MGIgesPD158 is the class for Iges parameter data type 158(unparameterised sphere).
Definition: igesPD158.h:13
Defines Vector of newed object pointers.
Definition: Pvector.h:27