MGCL V10
V10
MGCL V10
|
mgTL2Fan is a point list to constitue a fan. [詳解]
公開型 | |
typedef mgTL2deqIndex::iterator | IndexItr |
typedef mgTL2deqIndex::const_iterator | CIndexItr |
typedef mgTL2deqIndex::reverse_iterator | ritr |
typedef std::vector< int > ::iterator | EUitr |
Edge Used iterator. [詳解] | |
typedef std::vector< int > ::const_iterator | CEUitr |
Edge Used iterator. [詳解] | |
公開メンバ関数 | |
mgTL2Fan () | |
mgTL2Fan (int v1) | |
mgTL2Fan (int v1, int v2) | |
mgTL2Fan (mgTL2deqIndex &index) | |
int | operator[] (int i) const |
int | back () const |
IndexItr | begin () |
CIndexItr | begin () const |
bool | edge_is_used (int j) const |
Test if the edge(i,j) is used or not where i is the index of this edge. [詳解] | |
IndexItr | end () |
CIndexItr | end () const |
void | erase (IndexItr iter) |
CIndexItr | find (int index) const |
頂点周辺の頂点リストからindexを検索する(前から検索) [詳解] | |
IndexItr | find (int index) |
頂点周辺の頂点リストからindexを検索する(前から検索) [詳解] | |
IndexItr | find_aft (int index) |
頂点周辺の頂点リストからindexを検索する(後ろから検索) [詳解] | |
int | front () const |
IndexItr | insert (IndexItr iter, int index) |
Insert the index before the position iter. [詳解] | |
const mgTL2deqIndex & | indices () const |
void | push_back (int index) |
void | push_front (int index) |
void | pop_back () |
void | pop_front () |
void | print_indices (std::ostream &out) const |
Print out indices as "|n0,n1,.... [詳解] | |
ritr | rbegin () |
ritr | rend () |
void | set_vertex_used () |
Set this vertex as used. [詳解] | |
void | set_edge_used (int j) |
Set the edge(i,j) as used where i is the index of this fan's vertex. [詳解] | |
int | size () const |
bool | vertex_is_used () const |
フレンド | |
std::ostream & | operator<< (std::ostream &out, const mgTL2Fan &fan) |
mgTL2Fan is a point list to constitue a fan.
It is always a member of mgTL2Fans that is temporary data to generate mgTL2Triangles, and contains id of vertices of the outer loop of a MGFace. mgTL2Fan does not include its start point id since the id in mgTL2Fans is the 1st id. Let mgTL2Fan& fani=mgTL2Fans[i], then (i,fani[0], fani[1], ..., fani[n-1]) constitutes a fan(all of them are ids of vertices of the outer loop of a MGFaces). The actual triangles are: (i,fani[0], fani[1]), (i,fani[1], fani[2]), ..., (i,fani[i], fani[i+1]), ..., (i, fani[n-2], fnai[n-1]). See Les Piegel and Wayne Tiller's paper about this point list. "Geometry-based triangulation of trimmed NURBS surfaces", Computer-Aided Desigh, Vol.30, No.1, pp.11-16, 1998.
typedef std::vector<int>::const_iterator mgTL2Fan::CEUitr |
Edge Used iterator.
typedef mgTL2deqIndex::const_iterator mgTL2Fan::CIndexItr |
typedef std::vector<int>::iterator mgTL2Fan::EUitr |
Edge Used iterator.
typedef mgTL2deqIndex::iterator mgTL2Fan::IndexItr |
typedef mgTL2deqIndex::reverse_iterator mgTL2Fan::ritr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool mgTL2Fan::edge_is_used | ( | int | j | ) | const |
Test if the edge(i,j) is used or not where i is the index of this edge.
|
inline |
|
inline |
|
inline |
|
inline |
頂点周辺の頂点リストからindexを検索する(前から検索)
|
inline |
頂点周辺の頂点リストからindexを検索する(前から検索)
IndexItr mgTL2Fan::find_aft | ( | int | index | ) |
頂点周辺の頂点リストからindexを検索する(後ろから検索)
|
inline |
|
inline |
Insert the index before the position iter.
|
inline |
|
inline |
|
inline |
void mgTL2Fan::print_indices | ( | std::ostream & | out | ) | const |
Print out indices as "|n0,n1,....
|
inline |
|
inline |
|
inline |
|
inline |
void mgTL2Fan::set_edge_used | ( | int | j | ) |
Set the edge(i,j) as used where i is the index of this fan's vertex.
|
inline |
Set this vertex as used.
|
inline |
|
inline |
|
friend |