MGCL V10
V10
MGCL V10
|
Defines End Condition of Line B-Representation. [詳解]
公開メンバ関数 | |
MGLBRepEndC () | |
Default Constructor. [詳解] | |
MGLBRepEndC (MGENDCOND cond, const MGVector &deriv) | |
Construct of m_cond=MGENDC_1D or MGENDC_2D. [詳解] | |
MGLBRepEndC (const MGVector &first_deriv, const MGVector &second_deriv) | |
Construct of m_cond=MGENDC_12D. [詳解] | |
MGLBRepEndC (int start, const MGNDDArray &tau, const MGBPointSeq &points, int &error) | |
MGLBRepEndC (int start, const MGBPointSeq &points) | |
MGLBRepEndC (int start, MGENDCOND cond, const MGCurve &curve) | |
Given MGCurve, construct the curve's end condition. [詳解] | |
MGENDCOND | cond () const |
const MGVector & | first () const |
MGVector & | first () |
const MGVector & | second () const |
MGVector & | second () |
void | initialize () |
void | set_1st (const MGVector &first_deriv) |
Set 1st deriv and change condition type to MGENDC_1D or MGENDC_12D. [詳解] | |
void | set_2nd (const MGVector &second_deriv) |
Set 2nd deriv and change condition type to MGENDC_2D or MGENDC_12D. [詳解] | |
int | dump_size () const |
Dump Functions. [詳解] | |
int | dump (MGOfstream &) const |
Dump Function. [詳解] | |
int | restore (MGIfstream &) |
Restore Function. [詳解] | |
フレンド | |
MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &, const MGLBRepEndC &) |
Debug Function. [詳解] | |
Defines End Condition of Line B-Representation.
End condition to get spline by interpolation. enum MGENDCOND { MGENDC_UNKNOWN=0, /// Unknown(usually not used).未知 MGENDC_1D =1, /// 1st deravative provided. MGENDC_2D =2, /// 2nd deravative provided. MGENDC_NO =3, /// no end cond(only positional data) MGENDC_12D =4 /// both 1st and 2nd deravatives provided. };
|
inline |
Default Constructor.
Construct of m_cond=MGENDC_1D or MGENDC_2D.
cond | Type of end condition (MGENDC_1D or MGENDC_2D). |
deriv | Derivative inf according to cond |
Construct of m_cond=MGENDC_12D.
first_deriv | 1st derivative |
second_deriv | 2nd derivative |
MGLBRepEndC::MGLBRepEndC | ( | int | start, |
const MGNDDArray & | tau, | ||
const MGBPointSeq & | points, | ||
int & | error | ||
) |
Given data points ordinates and abscissa, compute approximate 1st derivative.
start | Indicates start(start==true) condition or end. |
tau | Data point abscissa |
points | Point seq data |
error | Error flag. |
MGLBRepEndC::MGLBRepEndC | ( | int | start, |
const MGBPointSeq & | points | ||
) |
Given Positional data sequence, compute approximate 1st derivative. The 1st derivative is unit vector.
start | Indicates start(start==true) condition or end. |
points | Point seq data |
Given MGCurve, construct the curve's end condition.
start | Indicates start(start==true) condition or end. |
cond | Type of end condition(MGENDC_1D, MGENDC_2D, or MGENDC_12D) |
curve | Curve |
|
inline |
int MGLBRepEndC::dump | ( | MGOfstream & | ) | const |
Dump Function.
int MGLBRepEndC::dump_size | ( | ) | const |
Dump Functions.
|
inline |
|
inline |
void MGLBRepEndC::initialize | ( | ) |
Initialize the instance. Will be set to the same as constructed by the void constructor.
int MGLBRepEndC::restore | ( | MGIfstream & | ) |
Restore Function.
|
inline |
|
inline |
void MGLBRepEndC::set_1st | ( | const MGVector & | first_deriv | ) |
Set 1st deriv and change condition type to MGENDC_1D or MGENDC_12D.
void MGLBRepEndC::set_2nd | ( | const MGVector & | second_deriv | ) |
Set 2nd deriv and change condition type to MGENDC_2D or MGENDC_12D.
|
friend |
Debug Function.
Destructor ~MGLBRepEndC(); We use default constructor.