MGCL V10
V10
MGCL V10
|
MGLSPoint_vector defines a vector of MGLSPoint. [詳解]
公開型 | |
typedef std::vector< MGLSPoint > ::iterator | LSiterator |
typedef std::vector< MGLSPoint > ::const_iterator | const_LSiterator |
公開メンバ関数 | |
MGLSPoint_vector () | |
MGLSPoint & | operator[] (size_t i) |
Member Function. [詳解] | |
const MGLSPoint & | operator[] (size_t i) const |
bool | append (const MGLSPoint &lsp) |
Add one intersection point to the list. [詳解] | |
void | append (const MGLSPoint_vector &vec) |
Adds the MGLSPoint_vector to the end of the list. [詳解] | |
int | entries () const |
Return the number of items that are in the list. [詳解] | |
int | size () const |
const MGLSPoint & | front () const |
void | insertAt (LSiterator i, const MGLSPoint &llisect) |
Insert MGLSPoint at the position i. [詳解] | |
bool | empty () const |
Return true if there are no items in the list, false otherwise. [詳解] | |
const MGLSPoint & | back () const |
フレンド | |
MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &, const MGLSPoint_vector &) |
String stream Function. [詳解] | |
MGLSPoint_vector defines a vector of MGLSPoint.
Used to represent Intersection points of a loop and a surface.
typedef std::vector<MGLSPoint>::const_iterator MGLSPoint_vector::const_LSiterator |
typedef std::vector<MGLSPoint>::iterator MGLSPoint_vector::LSiterator |
|
inline |
bool MGLSPoint_vector::append | ( | const MGLSPoint & | lsp | ) |
Add one intersection point to the list.
void MGLSPoint_vector::append | ( | const MGLSPoint_vector & | vec | ) |
Adds the MGLSPoint_vector to the end of the list.
|
inline |
Return(but does not remove) last element in the list. If list is empty, behavior is undefined.
|
inline |
Return true if there are no items in the list, false otherwise.
|
inline |
Return the number of items that are in the list.
|
inline |
Return first element in the list. If list is empty, behavior is undefined.
|
inline |
Insert MGLSPoint at the position i.
|
inline |
Member Function.
|
inline |
|
inline |
|
friend |
String stream Function.