MGCL V10
V10
MGCL V10
総合概要
モジュール
名前空間
クラス
全て
クラス
名前空間
関数
変数
型定義
列挙型
列挙値
フレンド
グループ
ページ
igesPD502.h
1
/********************************************************************/
2
/* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3
/* All rights reserved. */
4
/********************************************************************/
5
#if !defined( __MGIGESPD502_H__)
6
#define __MGIGESPD502_H__
7
11
12
#include <vector>
13
#include "mg/Position.h"
14
#include "mgiges/IgesPD.h"
15
17
class
MGIgesPD502
:
public
MGIgesPD
{
18
public
:
20
22
MGIgesPD502
(
MGIgesDirectoryEntry
*
DEpointer
=0);
23
25
~MGIgesPD502
(){;};
26
27
MGPosition
&
operator[]
(
int
i){
return
m_vertices
[i];};
28
const
MGPosition
&
operator[]
(
int
i)
const
{
return
m_vertices
[i];};
29
31
void
push_back
(
const
MGPosition
& vertex);
32
34
void
read_in
(
35
char
pDelimeter,
36
std::istringstream& pdstream
37
);
38
45
void
write_out_into_string
(
46
const
MGIgesGSec
& gsec,
47
MGPvector<std::string>
& plines
48
)
const
;
49
50
//Member data. These are set as public.
51
53
std::vector<MGPosition>
m_vertices
;
54
};
56
57
#endif // __MGIGESPD502_H__
MGIgesPD502::MGIgesPD502
MGIgesPD502(MGIgesDirectoryEntry *DEpointer=0)
Constructors.
MGIgesPD502::m_vertices
std::vector< MGPosition > m_vertices
Vertices of 3D coordinates.
Definition:
igesPD502.h:53
MGIgesPD502::operator[]
const MGPosition & operator[](int i) const
Definition:
igesPD502.h:28
MGIgesPD502::read_in
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesPD502::push_back
void push_back(const MGPosition &vertex)
append one vertex data.
MGIgesPD502::~MGIgesPD502
~MGIgesPD502()
Destructor;.
Definition:
igesPD502.h:25
MGIgesPD::DEpointer
const MGIgesDirectoryEntry * DEpointer() const
Definition:
igesPD.h:39
MGIgesPD502::operator[]
MGPosition & operator[](int i)
Definition:
igesPD502.h:27
MGIgesPD502::write_out_into_string
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesDirectoryEntry
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition:
IgesDirectoryEntry.h:20
MGIgesPD502
MGIgesPD502 is the class for the Iges parameter data type 502(VERTEX List Entity) form 1...
Definition:
igesPD502.h:17
MGPosition
Represent a positional data.
Definition:
Position.h:28
MGIgesPD
MGIgesPD is the parent class of all the Parameter data section type.
Definition:
igesPD.h:17
MGIgesGSec
MGIgesGSec describes a Global Section of a IGES file.
Definition:
IgesGSec.h:18
MGPvector
Defines Vector of newed object pointers.
Definition:
Pvector.h:27
mgIges
igesPD502.h
2015年11月18日(水) 16時19分19秒作成 - MGCL V10 / 構成:
1.8.8