MGCL V10
V10
MGCL V10
|
MGIgesPD190 is the class for Iges parameter data type 190(plane surface). [詳解]
公開メンバ関数 | |
MGIgesPD190 (MGIgesDirectoryEntry *DEpointer=0) | |
Constructs an object of class MGIgesPD190. [詳解] | |
MGIgesPD190 (int locationDE, int normalDE, int refdirDE=0) | |
Construct PD190, supplying each DE pointer data. [詳解] | |
~MGIgesPD190 () | |
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. [詳解] | |
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 MGIgesDirectoryEntry * | DEpointer () const |
MGIgesDirectoryEntry * | DEpointer () |
公開変数類 | |
int | m_locationDE |
a location DE on the plane. [詳解] | |
int | m_normalDE |
normal DE of the plane(this is a unit vector). [詳解] | |
int | m_refdirDE |
=0 if no reference direction. [詳解] | |
MGIgesPD190 is the class for Iges parameter data type 190(plane surface).
MGIgesPD190::MGIgesPD190 | ( | MGIgesDirectoryEntry * | DEpointer = 0 | ) |
Constructs an object of class MGIgesPD190.
MGIgesPD190::MGIgesPD190 | ( | int | locationDE, |
int | normalDE, | ||
int | refdirDE = 0 |
||
) |
Construct PD190, supplying each DE pointer data.
|
inline |
Destructor;.
void MGIgesPD190::getNormal | ( | const MGIgesIfstream & | ifs, |
MGUnit_vector & | normal | ||
) | const |
Get the plane normal into nromal.
void MGIgesPD190::getOrigin | ( | const MGIgesIfstream & | ifs, |
MGPosition & | origin | ||
) | const |
Get the plane origin(LOCATION) into origin.
void MGIgesPD190::getRefdir | ( | const MGIgesIfstream & | ifs, |
MGVector & | refdir | ||
) | const |
Get the plane reference direction(REFDIR) into refdir.
|
virtual |
Read in parameter data from string stream data.
MGIgesPDを実装しています。
|
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.
gsec | Input gsec to input delimeter_param and delimeter_record; |
plines | output plines. |
MGIgesPDを実装しています。
int MGIgesPD190::m_locationDE |
a location DE on the plane.
int MGIgesPD190::m_normalDE |
normal DE of the plane(this is a unit vector).
int MGIgesPD190::m_refdirDE |
=0 if no reference direction.
reference DE direction of the plane if m_refdirDE>0,