MGCL V10
V10
MGCL V10
|
MGIgesPD196 is the class for Iges parameter data type 196(sphere surface). [詳解]
公開メンバ関数 | |
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 ¢er) 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 MGIgesDirectoryEntry * | DEpointer () const |
MGIgesDirectoryEntry * | DEpointer () |
公開変数類 | |
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.
|
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.
|
inline |
void MGIgesPD196::getRefdir | ( | const MGIgesIfstream & | ifs, |
MGVector & | refdir | ||
) | const |
Get the sphere 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 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,