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

Defines a list of MGCCisect(curve to curve intersection). [詳解]

公開型

typedef std::list< MGCCisectcontainer_type
 
typedef container_type::iterator CCiterator
 
typedef
container_type::const_iterator 
const_CCiterator
 
typedef container_type::iterator iterator
 
typedef
container_type::const_iterator 
const_iterator
 

公開メンバ関数

 MGCCisect_list (const MGCurve *c1=NULL, const MGCurve *c2=NULL)
 Constructor. [詳解]
 
 ~MGCCisect_list ()
 
void append (const MGCCisect &isect)
 Adds the MGCCisect to the end of the list. [詳解]
 
void push_back (const MGCCisect &isect)
 
void append (const MGPosition &point, double t1, double t2, const MGCCRELATION r1=MGCCREL_UNKNOWN)
 
void append (const MGCCisect_list &lst)
 Adds the MGCCisect_list to the end of the list. [詳解]
 
CCiterator begin ()
 Get the pointer of the first element of the m_CCilist. [詳解]
 
const_CCiterator begin () const
 
void clear ()
 Clear all the elements in m_CCilist. [詳解]
 
const MGCurvecurve1 () const
 Return the pointer to curve1. [詳解]
 
const MGCurvecurve2 () const
 
CCiterator end ()
 Return the pointer to curve2. [詳解]
 
const_CCiterator end () const
 
int entries () const
 Return the number of items that are in the list. [詳解]
 
int size () const
 
CCiterator erase (CCiterator i)
 
const MGCCisectfirst () const
 
const MGCCisectfront () const
 
void insertAt (CCiterator i, const MGCCisect &isect)
 Insert MGCCisect at the iterator i. [詳解]
 
bool isEmpty () const
 
bool empty () const
 
const MGCCisectlast () const
 
const MGCCisectback () const
 
void pop_front ()
 Erase the first element of m_CCilist if not null. [詳解]
 
void pop_back ()
 Erase the last element of m_CCilist if not null. [詳解]
 
void prepend (const MGCCisect &isect)
 Adds the MGCCisect to the beginning of the list. [詳解]
 
void push_front (const MGCCisect &isect)
 
MGCCisect removeAt (CCiterator i)
 
MGCCisect removeFirst ()
 
MGCCisect removeLast ()
 
MGCCisect_listreplace12 ()
 

フレンド

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

詳解

Defines a list of MGCCisect(curve to curve intersection).

Used to represent Intersection points of two curves.

型定義メンバ詳解

typedef container_type::iterator MGCCisect_list::CCiterator
typedef container_type::const_iterator MGCCisect_list::const_CCiterator
typedef container_type::const_iterator MGCCisect_list::const_iterator
typedef container_type::iterator MGCCisect_list::iterator

構築子と解体子

MGCCisect_list::MGCCisect_list ( const MGCurve c1 = NULL,
const MGCurve c2 = NULL 
)
explicit

Constructor.

MGCCisect_list::~MGCCisect_list ( )
inline

関数詳解

void MGCCisect_list::append ( const MGCCisect isect)

Adds the MGCCisect to the end of the list.

引数
isectisect to append.
void MGCCisect_list::append ( const MGPosition point,
double  t1,
double  t2,
const MGCCRELATION  r1 = MGCCREL_UNKNOWN 
)

交点の全てのコンポーネントを指定して,交点リストに追加 Add one intersection point to the list.

引数
pointIntesection point(x,y,z)
t1parameter value of curve 1.
t2parameter value of curve 2.
r1Input relation
void MGCCisect_list::append ( const MGCCisect_list lst)

Adds the MGCCisect_list to the end of the list.

const MGCCisect& MGCCisect_list::back ( ) const
inline
CCiterator MGCCisect_list::begin ( )
inline

Get the pointer of the first element of the m_CCilist.

const_CCiterator MGCCisect_list::begin ( ) const
inline
void MGCCisect_list::clear ( )
inline

Clear all the elements in m_CCilist.

const MGCurve* MGCCisect_list::curve1 ( ) const
inline

Return the pointer to curve1.

const MGCurve* MGCCisect_list::curve2 ( ) const
inline
bool MGCCisect_list::empty ( ) const
inline
CCiterator MGCCisect_list::end ( )
inline

Return the pointer to curve2.

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

const_CCiterator MGCCisect_list::end ( ) const
inline
int MGCCisect_list::entries ( ) const
inline

Return the number of items that are in the list.

CCiterator MGCCisect_list::erase ( CCiterator  i)
inline

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

const MGCCisect& MGCCisect_list::first ( ) const
inline

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

const MGCCisect& MGCCisect_list::front ( ) const
inline
void MGCCisect_list::insertAt ( CCiterator  i,
const MGCCisect isect 
)
inline

Insert MGCCisect at the iterator i.

bool MGCCisect_list::isEmpty ( ) const
inline

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

const MGCCisect& MGCCisect_list::last ( ) const
inline

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

void MGCCisect_list::pop_back ( )
inline

Erase the last element of m_CCilist if not null.

void MGCCisect_list::pop_front ( )
inline

Erase the first element of m_CCilist if not null.

void MGCCisect_list::prepend ( const MGCCisect isect)
inline

Adds the MGCCisect to the beginning of the list.

void MGCCisect_list::push_back ( const MGCCisect isect)
inline
引数
isectisect to push back.
void MGCCisect_list::push_front ( const MGCCisect isect)
inline
MGCCisect MGCCisect_list::removeAt ( CCiterator  i)

Remove the MGCCisect and return the MGCCisect. If i is no valid, behavior is undefined.

MGCCisect MGCCisect_list::removeFirst ( )

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

MGCCisect MGCCisect_list::removeLast ( )

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

MGCCisect_list& MGCCisect_list::replace12 ( )
int MGCCisect_list::size ( ) const
inline

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

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

String stream Function.


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