MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
MGIgesPD196 クラス

MGIgesPD196 is the class for Iges parameter data type 196(sphere surface). [詳解]

MGIgesPD196 の継承関係図
MGIgesPD

公開メンバ関数

 MGIgesPD196 (MGIgesDirectoryEntry *DEpointer=0)
 Constructs an object of class MGIgesPD196. [詳解]
 
 MGIgesPD196 (int locationDE, double radius, int axisDE=0, int refdirDE=0)
 Construct PD196, supplying each DE pointer data. [詳解]
 
 ~MGIgesPD196 ()
 Destructor;. [詳解]
 
void getCenter (const MGIgesIfstream &ifs, MGPosition &center) const
 Get the sphere center(LOCATION) into origin. [詳解]
 
void getAxis (const MGIgesIfstream &ifs, MGUnit_vector &axis) const
 Get the plane normal into nromal. [詳解]
 
void getRefdir (const MGIgesIfstream &ifs, MGVector &refdir) const
 Get the sphere reference direction(REFDIR) into refdir. [詳解]
 
double getRadius () const
 
void read_in (char pDelimeter, std::istringstream &pdstream)
 Read in parameter data from string stream data. [詳解]
 
void write_out_into_string (const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
 
- 基底クラス MGIgesPD に属する継承公開メンバ関数
 MGIgesPD ()
 Constructors. [詳解]
 
 MGIgesPD (int type_number, MGIgesDirectoryEntry *DEpointer=0)
 Default constructor. [詳解]
 
virtual ~MGIgesPD ()
 Destructor;. [詳解]
 
void setDE (MGIgesDirectoryEntry *DE)
 
int type_number () const
 
const MGIgesDirectoryEntryDEpointer () const
 
MGIgesDirectoryEntryDEpointer ()
 

公開変数類

int m_locationDE
 Member data. These are set as public. [詳解]
 
double m_radius
 Radius of the sphere. [詳解]
 
int m_axisDE
 =0 if no axis direction. [詳解]
 
int m_refdirDE
 =0 if no reference direction. [詳解]
 

詳解

MGIgesPD196 is the class for Iges parameter data type 196(sphere surface).

構築子と解体子

MGIgesPD196::MGIgesPD196 ( MGIgesDirectoryEntry DEpointer = 0)

Constructs an object of class MGIgesPD196.

MGIgesPD196::MGIgesPD196 ( int  locationDE,
double  radius,
int  axisDE = 0,
int  refdirDE = 0 
)

Construct PD196, supplying each DE pointer data.

MGIgesPD196::~MGIgesPD196 ( )
inline

Destructor;.

関数詳解

void MGIgesPD196::getAxis ( const MGIgesIfstream ifs,
MGUnit_vector axis 
) const

Get the plane normal into nromal.

void MGIgesPD196::getCenter ( const MGIgesIfstream ifs,
MGPosition center 
) const

Get the sphere center(LOCATION) into origin.

double MGIgesPD196::getRadius ( ) const
inline
void MGIgesPD196::getRefdir ( const MGIgesIfstream ifs,
MGVector refdir 
) const

Get the sphere reference direction(REFDIR) into refdir.

void MGIgesPD196::read_in ( char  pDelimeter,
std::istringstream &  pdstream 
)
virtual

Read in parameter data from string stream data.

MGIgesPDを実装しています。

void MGIgesPD196::write_out_into_string ( const MGIgesGSec gsec,
MGPvector< std::string > &  plines 
) const
virtual

Write out this PD as MGIgesParamLine's(into plines). Except for string data, one integer or double data is output into one MGIgesParamLine, not striding over more than one line. Only when string data is output(to Holleris string), the data may stride over more than one lines. plines[i] for 0<=i<plines.size() are valid.

引数
gsecInput gsec to input delimeter_param and delimeter_record;
plinesoutput plines.

MGIgesPDを実装しています。

メンバ詳解

int MGIgesPD196::m_axisDE

=0 if no axis direction.

normal DE of the sphere(this is a unit vector) if m_axisDE>0,

int MGIgesPD196::m_locationDE

Member data. These are set as public.

center DE of the sphere

double MGIgesPD196::m_radius

Radius of the sphere.

int MGIgesPD196::m_refdirDE

=0 if no reference direction.

reference DE direction of the sphere if m_refdirDE>0,


このクラス詳解は次のファイルから抽出されました: