|
MGCL V10
V10
MGCL V10
|
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 MGLCisect & | operator[] (int i) const |
| Loop. [詳解] | |
| MGLCisect & | operator[] (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 MGLCisect & | first () 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 MGLCisect & | last () const |
| const MGLoop * | loop () 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.
| typedef std::vector<MGLCisect>::const_iterator MGLCisect_vector::const_iterator |
| typedef std::vector<MGLCisect>::const_iterator MGLCisect_vector::const_LCiterator |
| typedef std::vector<MGLCisect>::iterator MGLCisect_vector::iterator |
| typedef std::vector<MGLCisect>::iterator MGLCisect_vector::LCiterator |
| 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 | ||
| ) |
| lp | loop's parameter with edge id. |
| t | Curve's parameter value. |
| uv | Face's parameter value(u,v) data. |
| void MGLCisect_vector::append | ( | const MGLCisect_vector & | list | ) |
Adds the MGLCisect_vector to the end of the list.
|
inline |
Member Function.
|
inline |
|
inline |
Return true if there are no items in the list, false otherwise.
|
inline |
|
inline |
|
inline |
Return the number of items that are in the list.
|
inline |
Return the first element in the list. If list is empty, behavior is undefined.
|
inline |
Insert MGLCisect at the position i.
|
inline |
Return(but does not remove) last element in the list. If list is empty, behavior is undefined.
|
inline |
Return the pointer to loop.
|
inline |
Loop.
|
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.
|
friend |
String stream Function.