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

Face's (u,v) parameter value line. [詳解]

公開メンバ関数

 MGFPline ()
 
 MGFPline (const MGFSurface *face, MGCurve *uvline)
 void constructor. [詳解]
 
 MGFPline (const MGFPline &fpl)
 
 ~MGFPline ()
 
MGFPlineoperator= (const MGFPline &fpl)
 uvline will be deleted. [詳解]
 
bool operator< (const MGFPline &fpl2) const
 Comparison operator. [詳解]
 
bool operator> (const MGFPline &fpl2) const
 
bool operator<= (const MGFPline &fpl2) const
 
bool operator>= (const MGFPline &fpl2) const
 
bool operator== (const MGFPline &fpl2) const
 
bool operator!= (const MGFPline &fpl2) const
 
void change_range (double t0, double t1)
 
const MGFSurfaceface () const
 Get face's pointer. [詳解]
 
void reverse_direction ()
 Reverse the direction of this line. [詳解]
 
MGCurverelease_line ()
 
const MGCurveuvline () const
 Return face's (u,v) parameter representation line. [詳解]
 
MGCurveuvline ()
 

フレンド

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

詳解

Face's (u,v) parameter value line.

MGFPline is to represent an parameter (u,v) line of a face. (MGFSurface* f, MGCurve uvline) where f is a face pointer, and uvline is a parameter (u,v) line of the face f.

MGFPline is used to express Shell's intersection lines. The behavior of MGFPline is like an auto_ptr. Copy or assignment of MGFPline means transfer of the ownership of all the included curves to copied or assigned MGFPline and original MGFPline does not have the ownership of the curves any more. Users should be aware of it.

構築子と解体子

MGFPline::MGFPline ( )
inline
MGFPline::MGFPline ( const MGFSurface face,
MGCurve uvline 
)
inline

void constructor.

Construct from all the necessary data.

引数
faceface1.
uvline(u,v) line of the face, takes the ownership of the curve. That is uvline must be a newed object pointer.
MGFPline::MGFPline ( const MGFPline fpl)

Copy Constructor; fpl's ownership of all the curve will be transfered to the new MGFPline object.

MGFPline::~MGFPline ( )

関数詳解

void MGFPline::change_range ( double  t0,
double  t1 
)

Change parameter range, be able to change the direction by providing t1 greater than t2.

引数
t0Parameter value for the start of original.
t1Parameter value for the end of original.
const MGFSurface* MGFPline::face ( ) const
inline

Get face's pointer.

bool MGFPline::operator!= ( const MGFPline fpl2) const
inline
bool MGFPline::operator< ( const MGFPline fpl2) const

Comparison operator.

bool MGFPline::operator<= ( const MGFPline fpl2) const
inline
MGFPline& MGFPline::operator= ( const MGFPline fpl)

uvline will be deleted.

Assingment. The ownership of the curve in fpl will be transfered to this MGFPline.

bool MGFPline::operator== ( const MGFPline fpl2) const
bool MGFPline::operator> ( const MGFPline fpl2) const
inline
bool MGFPline::operator>= ( const MGFPline fpl2) const
inline
MGCurve* MGFPline::release_line ( )

Release the uvline curve pointer from this. After the use of release_line(), MGFPline does not have the ownership of the curve.

void MGFPline::reverse_direction ( )

Reverse the direction of this line.

const MGCurve& MGFPline::uvline ( ) const
inline

Return face's (u,v) parameter representation line.

MGCurve& MGFPline::uvline ( )
inline

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

MG_DLL_DECLR friend std::ostream& operator<< ( std::ostream &  ostrm,
const MGFPline fpl 
)
friend

String stream Function.


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