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

MGCSisect_list defines linked list of MGCSisect. [詳解]

公開型

typedef std::list< MGCSisectcontainer_type
 
typedef container_type::iterator CSiterator
 
typedef
container_type::const_iterator 
const_CSiterator
 
typedef container_type::iterator iterator
 
typedef
container_type::const_iterator 
const_iterator
 

公開メンバ関数

 MGCSisect_list (const MGCurve *crv=NULL, const MGFSurface *srf=NULL)
 
 ~MGCSisect_list ()
 Destructor. [詳解]
 
void append (const MGCSisect &isect)
 
void push_back (const MGCSisect &isect)
 
void append (const MGPosition &point, double t, const MGPosition &uv, const MGCSRELATION rl=MGCSREL_UNKNOWN)
 全てのコンポーネントを指定して交点を生成する [詳解]
 
void append (const MGCSisect_list &list)
 
CSiterator begin ()
 Get the pointer of the first element of the m_CSilist. [詳解]
 
const_CSiterator begin () const
 
void clear ()
 Clear all the elements in m_CSilist. [詳解]
 
const MGCurvecurve () const
 Return the pointer to the curve. [詳解]
 
CSiterator end ()
 Get the pointer of the next of the last element of the m_CSilist. [詳解]
 
const_CSiterator end () const
 
int entries () const
 Return the number of items that are in the list. [詳解]
 
int size () const
 
CSiterator erase (CSiterator i)
 
const MGCSisectfirst () const
 
const MGCSisectfront () const
 
void insertAt (CSiterator i, const MGCSisect &isect)
 Insert MGCSisect at the iterator i. [詳解]
 
int isEmpty () const
 
int empty () const
 
const MGCSisectlast () const
 
const MGCSisectback () const
 
void pop_back ()
 Erase the last element of m_CSilist if not null. [詳解]
 
void pop_front ()
 Erase the first element of m_CSilist if not null. [詳解]
 
void prepend (const MGCSisect &param)
 Adds the parameter to the beginning of the list. [詳解]
 
void push_front (const MGCSisect &isect)
 
MGCSisect removeAt (CSiterator i)
 
MGCSisect removeFirst ()
 
MGCSisect removeLast ()
 
const MGFSurfacesurface () const
 Return the pointer to the surface. [詳解]
 

フレンド

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

詳解

MGCSisect_list defines linked list of MGCSisect.

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

型定義メンバ詳解

typedef container_type::const_iterator MGCSisect_list::const_CSiterator
typedef container_type::const_iterator MGCSisect_list::const_iterator
typedef container_type::iterator MGCSisect_list::CSiterator
typedef container_type::iterator MGCSisect_list::iterator

構築子と解体子

MGCSisect_list::MGCSisect_list ( const MGCurve crv = NULL,
const MGFSurface srf = NULL 
)
explicit
MGCSisect_list::~MGCSisect_list ( )
inline

Destructor.

関数詳解

void MGCSisect_list::append ( const MGCSisect isect)
void MGCSisect_list::append ( const MGPosition point,
double  t,
const MGPosition uv,
const MGCSRELATION  rl = MGCSREL_UNKNOWN 
)

全てのコンポーネントを指定して交点を生成する

引数
pointintersection point.
tCurve's parameter value.
uvSurface's parameter values.
rlCurve and Surface relation
void MGCSisect_list::append ( const MGCSisect_list list)
const MGCSisect& MGCSisect_list::back ( ) const
inline
CSiterator MGCSisect_list::begin ( )
inline

Get the pointer of the first element of the m_CSilist.

const_CSiterator MGCSisect_list::begin ( ) const
inline
void MGCSisect_list::clear ( )
inline

Clear all the elements in m_CSilist.

const MGCurve* MGCSisect_list::curve ( ) const
inline

Return the pointer to the curve.

int MGCSisect_list::empty ( ) const
inline
CSiterator MGCSisect_list::end ( )
inline

Get the pointer of the next of the last element of the m_CSilist.

const_CSiterator MGCSisect_list::end ( ) const
inline
int MGCSisect_list::entries ( ) const
inline

Return the number of items that are in the list.

CSiterator MGCSisect_list::erase ( CSiterator  i)
inline

Erase the element of iterator i. Returned is the iterator located after the element i.

const MGCSisect& MGCSisect_list::first ( ) const
inline

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

const MGCSisect& MGCSisect_list::front ( ) const
inline
void MGCSisect_list::insertAt ( CSiterator  i,
const MGCSisect isect 
)
inline

Insert MGCSisect at the iterator i.

int MGCSisect_list::isEmpty ( ) const
inline

Return true (1) if there are no items in the list, false(0) otherwise.

const MGCSisect& MGCSisect_list::last ( ) const
inline

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

void MGCSisect_list::pop_back ( )
inline

Erase the last element of m_CSilist if not null.

void MGCSisect_list::pop_front ( )
inline

Erase the first element of m_CSilist if not null.

void MGCSisect_list::prepend ( const MGCSisect param)
inline

Adds the parameter to the beginning of the list.

void MGCSisect_list::push_back ( const MGCSisect isect)
inline
void MGCSisect_list::push_front ( const MGCSisect isect)
inline
MGCSisect MGCSisect_list::removeAt ( CSiterator  i)

Remove the parameter and return the parameter. If i is not valid, behavior is undefined.

MGCSisect MGCSisect_list::removeFirst ( )

Remove the first MGCSisect int the list and return the MGCSisect. If i is not valid, behavior is undefined.

MGCSisect MGCSisect_list::removeLast ( )

Remove the last MGCSisect in the list and return the MGCSisect. If i is not valid, behavior is undefined.

int MGCSisect_list::size ( ) const
inline
const MGFSurface* MGCSisect_list::surface ( ) const
inline

Return the pointer to the surface.

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

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

String stream Function.


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