SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star Struct Reference

#include <SimplicialComplex.h>

List of all members.

Public Types

typedef hudson::SmallList<
std::pair< Simplex, IFace > > 
StarData
typedef std::pair< Simplex,
IFace > 
pair
typedef StarData::const_iterator pair_it
typedef iterator_base< typename
StarData::iterator > 
iterator
typedef iterator_base< typename
StarData::const_iterator > 
const_iterator

Public Member Functions

 Star ()
void clear ()
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
neigh_iterator begin_neighbours () const
neigh_iterator end_neighbours () const
size_t size () const
iterator erase (const iterator &it)

Friends

class SimplicialComplex

Classes

class  iterator_base
struct  neigh_iterator

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
struct SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star


Member Typedef Documentation

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
typedef iterator_base<typename StarData::const_iterator> SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::const_iterator
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
typedef iterator_base<typename StarData::iterator> SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::iterator
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
typedef std::pair<Simplex,IFace> SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::pair
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
typedef StarData::const_iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::pair_it
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
typedef hudson::SmallList<std::pair<Simplex,IFace> > SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::StarData
 


Constructor & Destructor Documentation

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::Star  )  [inline]
 


Member Function Documentation

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
const_iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::begin  )  const [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::begin  )  [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
neigh_iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::begin_neighbours  )  const [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
void SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::clear  )  [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
const_iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::end  )  const [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::end  )  [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
neigh_iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::end_neighbours  )  const [inline]
 

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
iterator SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::erase const iterator it  )  [inline]
 

In order to handle degenerate insertions on the boundary, we allow changing the star: undesired simplices can be removed.

This also allows changing the homology of the complex and even disconnecting it. Ergo, use with care.

The semantics of erasure are that later elements may be reordered arbitrarily, and other iterators may be invalidated.

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
size_t SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Star::size  )  const [inline]
 


Friends And Related Function Documentation

template<unsigned d, class Vertex_, class SimplexData_ = void, class VertexPrinter_ = typename Vertex_::Printer>
friend class SimplicialComplex [friend]
 


The documentation for this struct was generated from the following file:
Generated on Thu Mar 27 19:04:15 2008 by  doxygen 1.4.6