MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
MGLBRepEndC クラス

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 MGVectorfirst () const
 
MGVectorfirst ()
 
const MGVectorsecond () const
 
MGVectorsecond ()
 
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. };

構築子と解体子

MGLBRepEndC::MGLBRepEndC ( )
inline

Default Constructor.

MGLBRepEndC::MGLBRepEndC ( MGENDCOND  cond,
const MGVector deriv 
)

Construct of m_cond=MGENDC_1D or MGENDC_2D.

引数
condType of end condition (MGENDC_1D or MGENDC_2D).
derivDerivative inf according to cond
MGLBRepEndC::MGLBRepEndC ( const MGVector first_deriv,
const MGVector second_deriv 
)

Construct of m_cond=MGENDC_12D.

引数
first_deriv1st derivative
second_deriv2nd derivative
MGLBRepEndC::MGLBRepEndC ( int  start,
const MGNDDArray tau,
const MGBPointSeq points,
int &  error 
)

Given data points ordinates and abscissa, compute approximate 1st derivative.

引数
startIndicates start(start==true) condition or end.
tauData point abscissa
pointsPoint seq data
errorError flag.
MGLBRepEndC::MGLBRepEndC ( int  start,
const MGBPointSeq points 
)

Given Positional data sequence, compute approximate 1st derivative. The 1st derivative is unit vector.

引数
startIndicates start(start==true) condition or end.
pointsPoint seq data
MGLBRepEndC::MGLBRepEndC ( int  start,
MGENDCOND  cond,
const MGCurve curve 
)

Given MGCurve, construct the curve's end condition.

引数
startIndicates start(start==true) condition or end.
condType of end condition(MGENDC_1D, MGENDC_2D, or MGENDC_12D)
curveCurve

関数詳解

MGENDCOND MGLBRepEndC::cond ( ) const
inline
int MGLBRepEndC::dump ( MGOfstream ) const

Dump Function.

int MGLBRepEndC::dump_size ( ) const

Dump Functions.

const MGVector& MGLBRepEndC::first ( ) const
inline
MGVector& MGLBRepEndC::first ( )
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.

const MGVector& MGLBRepEndC::second ( ) const
inline
MGVector& MGLBRepEndC::second ( )
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.

フレンドと関連関数の詳解

MG_DLL_DECLR friend std::ostream& operator<< ( std::ostream &  ,
const MGLBRepEndC  
)
friend

Debug Function.

Destructor ~MGLBRepEndC(); We use default constructor.


このクラス詳解は次のファイルから抽出されました: