MGCL V10
V10
MGCL V10
|
MGIgesPD192 is the class for Iges parameter data type 192. [詳解]
公開メンバ関数 | |
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 MGIgesDirectoryEntry * | DEpointer () const |
MGIgesDirectoryEntry * | DEpointer () |
公開変数類 | |
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.
|
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.
|
inline |
void MGIgesPD192::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 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,