18 #ifndef __itkQuadEdgeMeshPolygonCell_txx
19 #define __itkQuadEdgeMeshPolygonCell_txx
26 template<
class TCellInterface >
34 m_EdgeCellList.push_back( edge );
42 m_EdgeCellList.push_back( edge );
45 edgeGeom->Splice( last->GetSym() );
50 m_EdgeRingEntry->Splice( last->GetSym() );
57 template<
class TCellInterface >
62 this->m_EdgeRingEntry = e;
68 template<
class TCellInterface >
81 while( !m_EdgeCellList.empty( ) )
84 m_EdgeCellList.pop_back( );
100 template<
class TCellInterface >
111 template<
class TCellInterface >
116 typename IntVis::Pointer v = mv->GetVisitor( this->GetType() );
124 template<
class TCellInterface >
131 while( it != this->InternalPointIdsEnd() )
148 template<
class TCellInterface >
155 case 0:
return( this->GetNumberOfPoints() );
156 case 1:
return( this->GetNumberOfPoints() );
157 default:
return( 0 );
162 template<
class TCellInterface >
175 template<
class TCellInterface >
180 if( this->GetNumberOfPoints( ) > 2 )
184 while( i1 != this->InternalPointIdsEnd() )
186 i1.Value()->SetOrigin( *i2 );
194 template<
class TCellInterface >
199 if( this->GetNumberOfPoints( ) > 2 )
203 while( i1 != this->InternalPointIdsEnd() )
205 i1.Value()->SetOrigin( *i2 );
213 template<
class TCellInterface >
220 while( i1 != this->InternalPointIdsEnd() && i2 != last )
222 i1.Value()->SetOrigin( *i2 );
229 template<
class TCellInterface >
236 while( i1 != this->InternalPointIdsEnd() && i2 != last )
238 i1.Value()->SetOrigin( *i2 );
245 template<
class TCellInterface >
251 while( it != this->InternalPointIdsEnd() && n <= localId )
255 it.Value()->SetOrigin( pId );
256 it.Value()->GetOnext()->SetOrigin( pId );
264 template<
class TCellInterface >
271 while( it != this->InternalPointIdsEnd() && n <= localId )
275 return( it.Value()->GetOrigin( ) );
284 template<
class TCellInterface >
289 return m_EdgeRingEntry->BeginGeomLnext();
293 template<
class TCellInterface >
298 return m_EdgeRingEntry->EndGeomLnext();
302 template<
class TCellInterface >
313 template<
class TCellInterface >
324 template<
class TCellInterface >