|
MGCL V10
V10
MGCL V10
|
MGCSisect_list defines linked list of MGCSisect. [詳解]
公開型 | |
| typedef std::list< MGCSisect > | container_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 MGCurve * | curve () 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 MGCSisect & | first () const |
| const MGCSisect & | front () const |
| void | insertAt (CSiterator i, const MGCSisect &isect) |
| Insert MGCSisect at the iterator i. [詳解] | |
| int | isEmpty () const |
| int | empty () const |
| const MGCSisect & | last () const |
| const MGCSisect & | back () 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 ¶m) |
| Adds the parameter to the beginning of the list. [詳解] | |
| void | push_front (const MGCSisect &isect) |
| MGCSisect | removeAt (CSiterator i) |
| MGCSisect | removeFirst () |
| MGCSisect | removeLast () |
| const MGFSurface * | surface () 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 std::list<MGCSisect> MGCSisect_list::container_type |
| typedef container_type::iterator MGCSisect_list::CSiterator |
| typedef container_type::iterator MGCSisect_list::iterator |
|
explicit |
|
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 |
||
| ) |
全てのコンポーネントを指定して交点を生成する
| point | intersection point. |
| t | Curve's parameter value. |
| uv | Surface's parameter values. |
| rl | Curve and Surface relation |
| void MGCSisect_list::append | ( | const MGCSisect_list & | list | ) |
|
inline |
|
inline |
Get the pointer of the first element of the m_CSilist.
|
inline |
|
inline |
Clear all the elements in m_CSilist.
|
inline |
Return the pointer to the curve.
|
inline |
|
inline |
Get the pointer of the next of the last element of the m_CSilist.
|
inline |
|
inline |
Return the number of items that are in the list.
|
inline |
Erase the element of iterator i. Returned is the iterator located after the element i.
|
inline |
Return(but does not remove) first element in the list. If list is empty, behavior is undefined.
|
inline |
|
inline |
Insert MGCSisect at the iterator i.
|
inline |
Return true (1) if there are no items in the list, false(0) otherwise.
|
inline |
Return(but does not remove) last element in the list. If list is empty, behavior is undefined.
|
inline |
Erase the last element of m_CSilist if not null.
|
inline |
Erase the first element of m_CSilist if not null.
|
inline |
Adds the parameter to the beginning of the list.
|
inline |
|
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 | ( | ) |
| MGCSisect MGCSisect_list::removeLast | ( | ) |
|
inline |
|
inline |
Return the pointer to the surface.
|
friend |
String stream Function.