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

Defines Array of Knots. [詳解]

公開メンバ関数

 MGKnotArray ()
 Dummy constructor. [詳解]
 
 MGKnotArray (const MGKnot &)
 From Knot. [詳解]
 
 MGKnotArray (double knot, int mult)
 From knot and the multiplicity. [詳解]
 
 ~MGKnotArray ()
 Destructor. [詳解]
 
const MGKnotoperator[] (int pos) const
 [ ] reference. [詳解]
 
MGKnotoperator[] (int pos)
 
MGKnotArrayadd (const MGKnot &)
 Add to the end of list. [詳解]
 
MGKnotArrayadd (double knot, int mult=1)
 
const MGKnotback () const
 Get the last element in the vector. [詳解]
 
MGKnotback ()
 
std::vector< MGKnot >::iterator begin ()
 Obtain the iterator of the first element. [詳解]
 
std::vector< MGKnot >
::const_iterator 
begin () const
 
void clear ()
 Clear all the elements in m_CCilist. [詳解]
 
std::vector< MGKnot >::iterator end ()
 Obtain the iterator of the first element. [詳解]
 
std::vector< MGKnot >
::const_iterator 
end () const
 
const MGKnotfront () const
 Get the first element in the vector. [詳解]
 
MGKnotfront ()
 
void push_back (const MGKnot &knot)
 
int length () const
 Return the number of items that are in the list. [詳解]
 
int size () const
 
int dump_size () const
 Calculate dump size. [詳解]
 
int dump (MGOfstream &) const
 Dump Function. [詳解]
 
int restore (MGIfstream &)
 Restore Function. [詳解]
 

フレンド

MG_DLL_DECLR friend std::ostream & operator<< (std::ostream &, const MGKnotArray &)
 Member Data. [詳解]
 

詳解

Defines Array of Knots.

This is not knot vector for B-Rep. See MGKnotVector.

構築子と解体子

MGKnotArray::MGKnotArray ( )
inline

Dummy constructor.

MGKnotArray::MGKnotArray ( const MGKnot )
explicit

From Knot.

MGKnotArray::MGKnotArray ( double  knot,
int  mult 
)

From knot and the multiplicity.

MGKnotArray::~MGKnotArray ( )
inline

Destructor.

関数詳解

MGKnotArray& MGKnotArray::add ( const MGKnot )

Add to the end of list.

MGKnotArray& MGKnotArray::add ( double  knot,
int  mult = 1 
)
const MGKnot& MGKnotArray::back ( ) const
inline

Get the last element in the vector.

MGKnot& MGKnotArray::back ( )
inline
std::vector<MGKnot>::iterator MGKnotArray::begin ( )
inline

Obtain the iterator of the first element.

std::vector<MGKnot>::const_iterator MGKnotArray::begin ( ) const
inline
void MGKnotArray::clear ( )
inline

Clear all the elements in m_CCilist.

int MGKnotArray::dump ( MGOfstream ) const

Dump Function.

int MGKnotArray::dump_size ( ) const

Calculate dump size.

Operator overload. MGKnotArray& operator =(MGKnotArray&);///Assignment operator overload. Dump Functions.

std::vector<MGKnot>::iterator MGKnotArray::end ( )
inline

Obtain the iterator of the first element.

std::vector<MGKnot>::const_iterator MGKnotArray::end ( ) const
inline
const MGKnot& MGKnotArray::front ( ) const
inline

Get the first element in the vector.

MGKnot& MGKnotArray::front ( )
inline
int MGKnotArray::length ( ) const
inline

Return the number of items that are in the list.

const MGKnot& MGKnotArray::operator[] ( int  pos) const
inline

[ ] reference.

MGKnot& MGKnotArray::operator[] ( int  pos)
inline
void MGKnotArray::push_back ( const MGKnot knot)
inline
int MGKnotArray::restore ( MGIfstream )

Restore Function.

int MGKnotArray::size ( ) const
inline

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

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

Member Data.

String stream Function.


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