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

MGIgesPD192 is the class for Iges parameter data type 192. [詳解]

MGIgesPD192 の継承関係図
MGIgesPD

公開メンバ関数

 MGIgesPD192 (MGIgesDirectoryEntry *DEpointer=0)
 Constructors. [詳解]
 
 MGIgesPD192 (int locationDE, int normalDE, double radius, int refdirDE=0)
 Construct PD192, supplying each DE pointer data. [詳解]
 
 ~MGIgesPD192 ()
 Destructor;. [詳解]
 
void getOrigin (const MGIgesIfstream &ifs, MGPosition &origin) const
 Get the plane origin(LOCATION) into origin. [詳解]
 
void getNormal (const MGIgesIfstream &ifs, MGUnit_vector &normal) const
 Get the plane normal into nromal. [詳解]
 
void getRefdir (const MGIgesIfstream &ifs, MGVector &refdir) const
 Get the plane 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
 a location DE on the cylinder. [詳解]
 
int m_normalDE
 normal DE of the cylinder(this is a unit vector). [詳解]
 
double m_radius
 Radius of the cylinder. [詳解]
 
int m_refdirDE
 =0 if no reference direction. [詳解]
 

詳解

MGIgesPD192 is the class for Iges parameter data type 192.

(Right circular cylindrical surface).

構築子と解体子

MGIgesPD192::MGIgesPD192 ( MGIgesDirectoryEntry DEpointer = 0)

Constructors.

Constructs an object of class MGIgesPD192.

MGIgesPD192::MGIgesPD192 ( int  locationDE,
int  normalDE,
double  radius,
int  refdirDE = 0 
)

Construct PD192, supplying each DE pointer data.

MGIgesPD192::~MGIgesPD192 ( )
inline

Destructor;.

関数詳解

void MGIgesPD192::getNormal ( const MGIgesIfstream ifs,
MGUnit_vector normal 
) const

Get the plane normal into nromal.

void MGIgesPD192::getOrigin ( const MGIgesIfstream ifs,
MGPosition origin 
) const

Get the plane origin(LOCATION) into origin.

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

Get the plane reference direction(REFDIR) into refdir.

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

Read in parameter data from string stream data.

MGIgesPDを実装しています。

void MGIgesPD192::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 MGIgesPD192::m_locationDE

a location DE on the cylinder.

int MGIgesPD192::m_normalDE

normal DE of the cylinder(this is a unit vector).

double MGIgesPD192::m_radius

Radius of the cylinder.

int MGIgesPD192::m_refdirDE

=0 if no reference direction.

reference DE direction of the cylinder if m_refdirDE>0,


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