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
18
MGIgesPD158
(
MGIgesDirectoryEntry
*
DEpointer
=0);
19
21
MGIgesPD158
(
const
MGSphere
& sphere);
22
24
~MGIgesPD158
(){;};
25
27
void
read_in
(
28
char
pDelimeter,
29
std::istringstream& pdstream
30
);
31
38
void
write_out_into_string
(
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__
MGIgesPD158::write_out_into_string
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesPD::DEpointer
const MGIgesDirectoryEntry * DEpointer() const
Definition:
igesPD.h:39
MGIgesDirectoryEntry
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition:
IgesDirectoryEntry.h:20
MGIgesPD158::m_center
double m_center[3]
center coordinates of the sphere.
Definition:
igesPD158.h:47
MGIgesPD
MGIgesPD is the parent class of all the Parameter data section type.
Definition:
igesPD.h:17
MGIgesPD158::~MGIgesPD158
~MGIgesPD158()
Destructor;.
Definition:
igesPD158.h:24
MGSphere
MGSphere is a Sphere in 3D space.
Definition:
Sphere.h:42
MGIgesPD158::m_radius
double m_radius
radius of the sphere.
Definition:
igesPD158.h:46
MGIgesPD158::read_in
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesPD158::MGIgesPD158
MGIgesPD158(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD158.
MGIgesGSec
MGIgesGSec describes a Global Section of a IGES file.
Definition:
IgesGSec.h:18
MGIgesPD158
MGIgesPD158 is the class for Iges parameter data type 158(unparameterised sphere).
Definition:
igesPD158.h:13
MGPvector
Defines Vector of newed object pointers.
Definition:
Pvector.h:27
mgIges
igesPD158.h
2015年11月18日(水) 16時19分19秒作成 - MGCL V10 / 構成:
1.8.8