MGIgesPD104 is the class for Iges parameter data type 104(conic arc).
[詳解]
|
double | m_coef [6] |
| Let m_coef[]={A,B,C,D,E,F}, then A*x**2+B*x*y+C*y**2+D*x+E*y+F=0. [詳解]
|
|
double | m_Zt |
| Z coordinate of (x,y) plane of the above equation. [詳解]
|
|
double | m_X1 |
|
double | m_Y1 |
| the start point coordinate of the conic arc in (x,y) plane. [詳解]
|
|
double | m_X2 |
|
double | m_Y2 |
| the terminate point coordinate of the conic arc in (x,y) plane. [詳解]
|
|
MGIgesPD104 is the class for Iges parameter data type 104(conic arc).
MGIgesPD104::MGIgesPD104 |
( |
const double |
coef[6], |
|
|
double |
Zt, |
|
|
const double |
start[2], |
|
|
const double |
terminate[2] |
|
) |
| |
Construct PD100, supplying 2D coordinate data in each array.
- 引数
-
coef | Coefficients of the conic equation. |
Zt | Z coordinate of (x,y) plane of the above equation. |
start | the start point coordinates of the conic arc in (x,y) plane. |
terminate | Terminate point. |
MGIgesPD104::~MGIgesPD104 |
( |
| ) |
|
|
inline |
void MGIgesPD104::read_in |
( |
char |
pDelimeter, |
|
|
std::istringstream & |
pdstream |
|
) |
| |
|
virtual |
Read in parameter data from string stream data.
- 引数
-
pDelimeter | Derimeter. |
pdstream | The target istring stream. |
MGIgesPDを実装しています。
void MGIgesPD104::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.
- 引数
-
gsec | Input gsec to input delimeter_param and delimeter_record; |
plines | output plines. |
MGIgesPDを実装しています。
double MGIgesPD104::m_coef[6] |
Let m_coef[]={A,B,C,D,E,F}, then A*x**2+B*x*y+C*y**2+D*x+E*y+F=0.
Coefficients of the conic equation.
the start point coordinate of the conic arc in (x,y) plane.
the terminate point coordinate of the conic arc in (x,y) plane.
Z coordinate of (x,y) plane of the above equation.
このクラス詳解は次のファイルから抽出されました: