Defines a list of MGCCisect(curve to curve intersection).
[詳解]
Defines a list of MGCCisect(curve to curve intersection).
Used to represent Intersection points of two curves.
MGCCisect_list::MGCCisect_list |
( |
const MGCurve * |
c1 = NULL , |
|
|
const MGCurve * |
c2 = NULL |
|
) |
| |
|
explicit |
MGCCisect_list::~MGCCisect_list |
( |
| ) |
|
|
inline |
void MGCCisect_list::append |
( |
const MGCCisect & |
isect | ) |
|
Adds the MGCCisect to the end of the list.
- 引数
-
交点の全てのコンポーネントを指定して,交点リストに追加 Add one intersection point to the list.
- 引数
-
point | Intesection point(x,y,z) |
t1 | parameter value of curve 1. |
t2 | parameter value of curve 2. |
r1 | Input relation |
const MGCCisect& MGCCisect_list::back |
( |
| ) |
const |
|
inline |
Get the pointer of the first element of the m_CCilist.
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 |
Return the pointer to curve2.
Get the pointer of the next of the last element of the m_CCilist.
int MGCCisect_list::entries |
( |
| ) |
const |
|
inline |
Return the number of items that are in the list.
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 |
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 |
void MGCCisect_list::push_front |
( |
const MGCCisect & |
isect | ) |
|
|
inline |
Remove the first MGCCisect int the list and return the MGCCisect. If i is not valid, behavior is undefined.
Remove the last MGCCisect in the list and return the MGCCisect. If i is not valid, behavior is undefined.
int MGCCisect_list::size |
( |
| ) |
const |
|
inline |
MG_DLL_DECLR friend std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const MGCCisect_list & |
|
|
) |
| |
|
friend |
このクラス詳解は次のファイルから抽出されました: