CAPD RedHom Library
capd::complex::PolygonCellComplex< LengthUpperBound, Color > Class Template Reference

#include <capd/complex/PolygonCellComplex.h>

Public Types

typedef PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > Generator
 
typedef PolygonsCoincidence< GeneratorCoincidence
 
typedef GeneratedCellComplex< Generator, Coincidence, ColorBaseCellComplex
 
typedef GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, ColorMemoryModel
 
typedef BaseCellComplex::Cell Cell
 
typedef BaseCellComplex::ConstCell ConstCell
 
typedef BaseCellComplex::Dim Dim
 
typedef MemoryModel::Id Id
 
typedef MemoryModel::Color Color
 
typedef MemoryModel::EnumerateCellCodes EnumerateCellCodes
 
typedef EnumerateCellCodes::CellCode CellCode
 
typedef MemoryModel::AvailableStorage AvailableCells
 
typedef MemoryModel::ColorStorage Colors
 
typedef boost::mpl::joint_view< boost::mpl::vector<>, boost::mpl::vector< typename MemoryModel::Tag, CellComplexTag > > Tags
 
typedef CellComplex_IteratorFamily< CellComplex, Cell, ConstCellIterators
 
typedef CellComplex_IteratorFamily< const CellComplex, ConstCell, ConstCellConstIterators
 
typedef ColoredIteratorFamily< IteratorsColoredIterators
 
typedef ColoredIteratorFamily< ConstIteratorsColoredConstIterators
 
typedef boost::mpl::true_ IsComplex
 

Public Member Functions

template<typename Rng >
 PolygonCellComplex (const Rng &rng)
 
int coincidenceIndex (const ConstCell &cellA, const ConstCell &cellB) const
 
size_t size () const
 
size_t cardinality () const
 
CellCode cellCode () const
 
Dim dim () const
 
Dim getDim () const
 
Iterators iterators ()
 
ConstIterators iterators () const
 
ColoredIterators iterators (Color color)
 
ColoredConstIterators iterators (Color color) const
 
ConstCell operator[] (const CellCode &cellCode) const
 
ConstCell operator[] (Id id) const
 
Cell operator[] (const CellCode &cellCode)
 
Cell operator[] (Id id)
 
boost::optional< Cellfind (const CellCode &cellCode)
 
boost::optional< Cellfind (Id id)
 
Color color (Id id) const
 
bool exists (Id id) const
 
bool exists (const CellCode &cellCode) const
 
Cell insert (const CellCode &cellCode)
 
Cell insert (const CellCode &cellCode, Color color)
 
void remove (Cell &cell)
 
void fillWithBoundaries ()
 
void fillWithBoundary (Id cellId, Color color=Color(), bool keepLower=true)
 
void fillWithBoundary (const Cell &cell, Color color=Color(), bool keepLower=true)
 
void resetColors (Color color)
 
EnumerateCellCodesenumerateCellCodes ()
 
const EnumerateCellCodesenumerateCellCodes () const
 
bool isClosed () const
 
void setClosedValidator (const boost::function< bool()> &v)
 
void setClosed (bool closed)
 

Protected Member Functions

void insertAll (Color color=Color(1))
 

Member Typedef Documentation

template<int LengthUpperBound, typename Color >
typedef GeneratedCellComplex<Generator, Coincidence, Color> capd::complex::PolygonCellComplex< LengthUpperBound, Color >::BaseCellComplex
typedef BaseCellComplex::Cell capd::complex::GeneratedCellComplex< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , PolygonsCoincidence< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > > , Color, boost::mpl::vector<> >::Cell
inherited
template<int LengthUpperBound, typename Color >
typedef PolygonsCoincidence<Generator> capd::complex::PolygonCellComplex< LengthUpperBound, Color >::Coincidence
typedef MemoryModel::Color capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::Color
inherited
typedef MemoryModel::ColorStorage capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::Colors
inherited
typedef BaseCellComplex::ConstCell capd::complex::GeneratedCellComplex< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , PolygonsCoincidence< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > > , Color, boost::mpl::vector<> >::ConstCell
inherited
typedef BaseCellComplex::Dim capd::complex::GeneratedCellComplex< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , PolygonsCoincidence< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > > , Color, boost::mpl::vector<> >::Dim
inherited
template<int LengthUpperBound, typename Color >
typedef PolygonsGenerator<boost::mpl::int_<LengthUpperBound> > capd::complex::PolygonCellComplex< LengthUpperBound, Color >::Generator
typedef MemoryModel::Id capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::Id
inherited
typedef GeneratedMemoryModel<PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , Color> capd::complex::GeneratedCellComplex< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , PolygonsCoincidence< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > > , Color, boost::mpl::vector<> >::MemoryModel
inherited
typedef boost::mpl::joint_view<boost::mpl::vector<> , boost::mpl::vector<typename MemoryModel::Tag, CellComplexTag> > capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::Tags
inherited

Constructor & Destructor Documentation

template<int LengthUpperBound, typename Color >
template<typename Rng >
capd::complex::PolygonCellComplex< LengthUpperBound, Color >::PolygonCellComplex ( const Rng &  rng)
inlineexplicit

Member Function Documentation

size_t capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::cardinality ( ) const
inlineinherited
CellCode capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::cellCode ( ) const
inlineinherited
int capd::complex::GeneratedCellComplex< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > , PolygonsCoincidence< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > > > , Color, boost::mpl::vector<> >::coincidenceIndex ( const ConstCell cellA,
const ConstCell cellB 
) const
inlineinherited
Color capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::color ( Id  id) const
inlineinherited
Dim capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::dim ( ) const
inlineinherited
EnumerateCellCodes& capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::enumerateCellCodes ( )
inlineinherited
const EnumerateCellCodes& capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::enumerateCellCodes ( ) const
inlineinherited
bool capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::exists ( Id  id) const
inlineinherited
bool capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::exists ( const CellCode cellCode) const
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::fillWithBoundaries ( )
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::fillWithBoundary ( Id  cellId,
Color  color = Color(),
bool  keepLower = true 
)
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::fillWithBoundary ( const Cell cell,
Color  color = Color(),
bool  keepLower = true 
)
inlineinherited
boost::optional<Cell> capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::find ( const CellCode cellCode)
inlineinherited
boost::optional<Cell> capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::find ( Id  id)
inlineinherited
Dim capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::getDim ( ) const
inlineinherited
Cell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::insert ( const CellCode cellCode)
inlineinherited
Cell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::insert ( const CellCode cellCode,
Color  color 
)
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::insertAll ( Color  color = Color(1))
inlineprotectedinherited
bool capd::complex::SComplexBase::isClosed ( ) const
inlineinherited
Iterators capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::iterators ( )
inlineinherited
ConstIterators capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::iterators ( ) const
inlineinherited
ColoredIterators capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::iterators ( Color  color)
inlineinherited
ColoredConstIterators capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::iterators ( Color  color) const
inlineinherited
ConstCell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::operator[] ( const CellCode cellCode) const
inlineinherited
ConstCell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::operator[] ( Id  id) const
inlineinherited
Cell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::operator[] ( const CellCode cellCode)
inlineinherited
Cell capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::operator[] ( Id  id)
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::remove ( Cell cell)
inlineinherited
void capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::resetColors ( Color  color)
inlineinherited
void capd::complex::SComplexBase::setClosed ( bool  closed)
inlineinherited
void capd::complex::SComplexBase::setClosedValidator ( const boost::function< bool()> &  v)
inlineinherited
size_t capd::complex::CellComplex< GeneratedMemoryModel< PolygonsGenerator< boost::mpl::int_< LengthUpperBound > >, Color > , boost::mpl::vector<> >::size ( ) const
inlineinherited