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

Defines Tangent Plane Line B-Representation Class. [詳解]

公開メンバ関数

 MGSBRepTP ()
 Default Constructor, will be set as no TPs' are specified. [詳解]
 
 MGSBRepTP (const MGSBRepTP &)
 Copy Constructor. [詳解]
 
 MGSBRepTP (const MGSurface &srf)
 Compute TP of four boundaries of a Surface B-Rep. [詳解]
 
 ~MGSBRepTP ()
 
MGSBRepTPoperator= (const MGSBRepTP &)
 Assignment. [詳解]
 
double get_perimeters_max_cos (const MGPvector< MGLBRep > &deris, double taumax[4], double cosmax[4]) const
 
double get_perimeters_max_sin (const MGSurface &srf, double taumax[4], double sinmax[4], bool *eval=0) const
 
double max_cos (const MGCurve *perimeter[4]) const
 
double max_cos (const MGPvector< MGLBRep > &perimeters) const
 
bool specified (int i) const
 
void set_TP_null (int i)
 Set i-th perimeter's TP as a null, as an unspecified one. [詳解]
 
void set_TP (int i, const MGLBRep &tp)
 Set i-th perimeter's TP(copy version). [詳解]
 
void set_TP (int i, std::auto_ptr< MGLBRep > &tp)
 Set i-th perimeter's TP(auto_ptr version). [詳解]
 
const MGLBRepTP (int i) const
 Return i-th perimeter's TP. [詳解]
 
MGLBRepTP (int i)
 
MGLBRep ** TP ()
 

フレンド

MG_DLL_DECLR friend std::ostream & operator<< (std::ostream &, const MGSBRepTP &)
 String stream Function. [詳解]
 

詳解

Defines Tangent Plane Line B-Representation Class.

Tangent plane is a line b-representation of (unit)normal vector of tangent plane along surface perimeter.

構築子と解体子

MGSBRepTP::MGSBRepTP ( )

Default Constructor, will be set as no TPs' are specified.

MGSBRepTP::MGSBRepTP ( const MGSBRepTP )

Copy Constructor.

MGSBRepTP::MGSBRepTP ( const MGSurface srf)

Compute TP of four boundaries of a Surface B-Rep.

MGSBRepTP::~MGSBRepTP ( )

関数詳解

double MGSBRepTP::get_perimeters_max_cos ( const MGPvector< MGLBRep > &  deris,
double  taumax[4],
double  cosmax[4] 
) const

Compute the maximum (absolute) cos value of between vector deris[i](t) and vector this->TP(i)(t) for i=0,1,2,3, where t is a common parameter of the data point obtained from deris[i]'s knot vector. Function's return value is the max out of cosmax[.].

引数
deristhe size must be 4.
taumaxparameter on which the maximum value attains will be stored.
cosmaxthe maximum value will be stored.
double MGSBRepTP::get_perimeters_max_sin ( const MGSurface srf,
double  taumax[4],
double  sinmax[4],
bool *  eval = 0 
) const

Compute the maximum (absolute) sin value of between vector srf.normal(uv(t)) and vector this->TP(i)(t) for i=0,1,2,3, where perim[i] is the same as srf.perimeter_curve(i), and t is a common parameter of deris[i] and TP(i). Function's return value is the max out of sinmax[.].

引数
srfsurface which must corresponds to this object.
taumaxparameters on which the maximum value attains will be stored.
sinmaxthe maximum value will be stored.
evalindicates perimeters to evalate if eval!=null, When eval[i] is true, perimeter i is evaluated for 0<=i<=3.
double MGSBRepTP::max_cos ( const MGCurve perimeter[4]) const

Compute maximun abs(cons(theta)), where theta=angle of TP(i) and corresponding edge_crvl[i]'s start and end points' tangent vector.

引数
perimeter境界線リスト(vmin,umax,vmax,uminの順,辺番号0,1,2,3の順)
double MGSBRepTP::max_cos ( const MGPvector< MGLBRep > &  perimeters) const

Compute maximun abs(cons(theta)), where theta=angle of TP(i) and corresponding edge_crvl[i]'s start and end points' tangent vector.

引数
perimeters境界線リスト(vmin,umax,vmax,uminの順,辺番号0,1,2,3の順)
MGSBRepTP& MGSBRepTP::operator= ( const MGSBRepTP )

Assignment.

void MGSBRepTP::set_TP ( int  i,
const MGLBRep tp 
)

Set i-th perimeter's TP(copy version).

void MGSBRepTP::set_TP ( int  i,
std::auto_ptr< MGLBRep > &  tp 
)

Set i-th perimeter's TP(auto_ptr version).

void MGSBRepTP::set_TP_null ( int  i)

Set i-th perimeter's TP as a null, as an unspecified one.

bool MGSBRepTP::specified ( int  i) const
inline

Return if i-th perimeter's TP specified(true) or not. i=0, 2 are v=min and max u-parameter line. i=1, 3 are u=max and min v-parameter line.

const MGLBRep& MGSBRepTP::TP ( int  i) const
inline

Return i-th perimeter's TP.

MGLBRep& MGSBRepTP::TP ( int  i)
inline
MGLBRep** MGSBRepTP::TP ( )
inline

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

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

String stream Function.


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