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

MGLCisect_vector defines linked list of MGLCisect. [詳解]

公開型

typedef std::vector< MGLCisect >
::iterator 
LCiterator
 
typedef std::vector< MGLCisect >
::const_iterator 
const_LCiterator
 
typedef std::vector< MGLCisect >
::iterator 
iterator
 
typedef std::vector< MGLCisect >
::const_iterator 
const_iterator
 

公開メンバ関数

 MGLCisect_vector ()
 Constructor. [詳解]
 
 MGLCisect_vector (const MGLoop &loop)
 
const MGLCisectoperator[] (int i) const
 Loop. [詳解]
 
MGLCisectoperator[] (int i)
 
iterator begin ()
 Member Function. [詳解]
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void append (const MGLCisect &lcisect)
 Adds the MGLCisect to the end of the list. [詳解]
 
void append (const MGLEPoint &lp, double t, const MGPosition &uv)
 
void append (const MGLCisect_vector &list)
 Adds the MGLCisect_vector to the end of the list. [詳解]
 
int entries () const
 Return the number of items that are in the list. [詳解]
 
const MGLCisectfirst () const
 
void insertAt (LCiterator i, const MGLCisect &lcisect)
 Insert MGLCisect at the position i. [詳解]
 
bool empty () const
 Return true if there are no items in the list, false otherwise. [詳解]
 
const MGLCisectlast () const
 
const MGLooploop () const
 Return the pointer to loop. [詳解]
 
void update_lepoint (const MGLEPoint &lep)
 

フレンド

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

詳解

MGLCisect_vector defines linked list of MGLCisect.

Used to represent Intersection points of a loop and a curve.

型定義メンバ詳解

構築子と解体子

MGLCisect_vector::MGLCisect_vector ( )

Constructor.

MGLCisect_vector::MGLCisect_vector ( const MGLoop loop)

関数詳解

void MGLCisect_vector::append ( const MGLCisect lcisect)

Adds the MGLCisect to the end of the list.

void MGLCisect_vector::append ( const MGLEPoint lp,
double  t,
const MGPosition uv 
)
引数
lploop's parameter with edge id.
tCurve's parameter value.
uvFace's parameter value(u,v) data.
void MGLCisect_vector::append ( const MGLCisect_vector list)

Adds the MGLCisect_vector to the end of the list.

iterator MGLCisect_vector::begin ( )
inline

Member Function.

const_iterator MGLCisect_vector::begin ( ) const
inline
bool MGLCisect_vector::empty ( ) const
inline

Return true if there are no items in the list, false otherwise.

iterator MGLCisect_vector::end ( )
inline
const_iterator MGLCisect_vector::end ( ) const
inline
int MGLCisect_vector::entries ( ) const
inline

Return the number of items that are in the list.

const MGLCisect& MGLCisect_vector::first ( ) const
inline

Return the first element in the list. If list is empty, behavior is undefined.

void MGLCisect_vector::insertAt ( LCiterator  i,
const MGLCisect lcisect 
)
inline

Insert MGLCisect at the position i.

const MGLCisect& MGLCisect_vector::last ( ) const
inline

Return(but does not remove) last element in the list. If list is empty, behavior is undefined.

const MGLoop* MGLCisect_vector::loop ( ) const
inline

Return the pointer to loop.

const MGLCisect& MGLCisect_vector::operator[] ( int  i) const
inline

Loop.

MGLCisect& MGLCisect_vector::operator[] ( int  i)
inline
void MGLCisect_vector::update_lepoint ( const MGLEPoint lep)

Update MGLEPoint in this LCisect_vector. This is to update MGLEPoints in this obtained before MGLoop::make_vertex and the loop is updated by MGLoop::make_vertex. Generally speaking, when make_vertex is invoked after MGLCisect_vector is obtaind, the MGLEPoints in the MGLCisect_vector do not contain correct values, since a new edge is inserted int the MGComplex's cell vector.

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

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

String stream Function.


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