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

MGLCisect is to represent Loop and curve intersection point of a parent face parameter space. [詳解]

公開メンバ関数

 MGLCisect ()
 
 MGLCisect (const MGLEPoint &lp, double t, const MGPosition &)
 
bool operator< (const MGLCisect &li2) const
 
bool operator> (const MGLCisect &lci2) const
 
bool operator<= (const MGLCisect &lci2) const
 
bool operator>= (const MGLCisect &lci2) const
 
bool operator== (const MGLCisect &lci2) const
 
bool operator!= (const MGLCisect &lci2) const
 
double distance_square (const MGLCisect &is2) const
 Compute distance square of two isect. [詳解]
 
int edge_num () const
 return loop's edge number. [詳解]
 
const MGLooploop () const
 Get loop pointer. [詳解]
 
const MGLEPointlp () const
 Get MGLEPoint. [詳解]
 
void set_lepoint (const MGLEPoint &lep)
 
double t () const
 Return parameter of the curve. [詳解]
 
const MGPositionuv () const
 Return isect data. [詳解]
 

フレンド

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

詳解

MGLCisect is to represent Loop and curve intersection point of a parent face parameter space.

Holds (lp, t, uv), where lp=loop point, t=curve parameter value, and uv=face aprameter value.

構築子と解体子

MGLCisect::MGLCisect ( )
MGLCisect::MGLCisect ( const MGLEPoint lp,
double  t,
const MGPosition  
)
引数
lploop's parameter with edge iterator.
tCurve's parameter value.

関数詳解

double MGLCisect::distance_square ( const MGLCisect is2) const

Compute distance square of two isect.

int MGLCisect::edge_num ( ) const
inline

return loop's edge number.

const MGLoop* MGLCisect::loop ( ) const
inline

Get loop pointer.

const MGLEPoint& MGLCisect::lp ( ) const
inline

Get MGLEPoint.

bool MGLCisect::operator!= ( const MGLCisect lci2) const
inline
bool MGLCisect::operator< ( const MGLCisect li2) const

Comparison operator. THe order is defined as the curve's intersection parameter value ascending order if two loops are the same. If two loops are different, loop's address order is the order of MGLCisect.

bool MGLCisect::operator<= ( const MGLCisect lci2) const
inline
bool MGLCisect::operator== ( const MGLCisect lci2) const
bool MGLCisect::operator> ( const MGLCisect lci2) const
inline
bool MGLCisect::operator>= ( const MGLCisect lci2) const
inline
void MGLCisect::set_lepoint ( const MGLEPoint lep)
inline
double MGLCisect::t ( ) const
inline

Return parameter of the curve.

const MGPosition& MGLCisect::uv ( ) const
inline

Return isect data.

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

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

String stream Function.


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