MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd116.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD116_H__)
6 #define __MGIGESPD116_H__
7 
8 #include "mg/Point.h"
9 #include "mgiges/IgesPD.h"
10 
12 class MGIgesPD116: public MGIgesPD{
13 public:
14  // Constructors.
15 
18 
20  MGIgesPD116(const MGPoint& P,int display_symbolDE=0);
21  MGIgesPD116(const MGPosition& P,int display_symbolDE=0);
22 
24  MGIgesPD116(const double coordinates[3],int display_symbolDE=0);
25 
28 
30  void convert_to_position(MGPosition& position)const;
31 
33  void read_in(
34  char pDelimeter,
35  std::istringstream& pdstream
36  );
37 
45  const MGIgesGSec& gsec,
46  MGPvector<std::string>& plines
47  )const;
48 
49 public:
50 //Member data. These are set as public.
51 
52  double m_coordinates[3];
54 };
55 
56 #endif // __MGIGESPD116_H__
void convert_to_position(MGPosition &position) const
Convert the point data to MGPosition position.
MGPoint represents one dimensional manifold, a point in a space.
Definition: Point.h:28
int m_display_symbolDE
Directory entry of the subfigure definition of the display symbol.
Definition: igespd116.h:53
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
Represent a positional data.
Definition: Position.h:28
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
double m_coordinates[3]
(x, y, z) of the point.
Definition: igespd116.h:52
MGIgesPD116(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD116.
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
~MGIgesPD116()
Destructor;.
Definition: igespd116.h:27
Defines Vector of newed object pointers.
Definition: Pvector.h:27
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesPD116 is the class for Iges parameter data type 116(POINT).
Definition: igespd116.h:12