politopix  4.1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PolytopeToSimplexes Class Reference

#include <VolumeOfPolytopes_Rn.h>

Collaboration diagram for PolytopeToSimplexes:
Collaboration graph

Public Member Functions

 PolytopeToSimplexes (const std::vector< unsigned int > &splitPol, unsigned int dim)
 
 PolytopeToSimplexes (const std::vector< unsigned int > &vtx2plit, unsigned int apexNb, unsigned int dim)
 
 PolytopeToSimplexes (const std::vector< unsigned int > &vtx2plit, const std::vector< unsigned int > &prcVtx, unsigned int apexNb, unsigned int dim)
 
const std::vector< unsigned int > & getListOfProcessedVertices () const
 
void setListOfProcessedVertices (const std::vector< unsigned int > &LPV)
 
const std::vector< unsigned int > & getListOfVerticesToSplit () const
 
void setListOfVerticesToSplit (const std::vector< unsigned int > &VTS)
 
void addProcessedVertex (unsigned int ap)
 
bool checkSimplex () const
 
std::vector< unsigned int > buildPolytope () const
 
void switchToFullDimension ()
 
unsigned int dimension () const
 
void dump (std::ostream &this_ostream, unsigned int shift=0) const
 

Protected Attributes

std::vector< unsigned int > _listOfProcessedVertices
 The ordered list of vertices as we go down in smaller dimensions spaces. More...
 
std::vector< unsigned int > _listOfVerticesToSplit
 The ordered list of vertices to be split in lower dimensions. More...
 
unsigned int _dimension
 The current dimension space we work in. More...
 

Detailed Description

Definition at line 42 of file VolumeOfPolytopes_Rn.h.

Constructor & Destructor Documentation

PolytopeToSimplexes::PolytopeToSimplexes ( const std::vector< unsigned int > &  splitPol,
unsigned int  dim 
)
inline

Definition at line 45 of file VolumeOfPolytopes_Rn.h.

PolytopeToSimplexes::PolytopeToSimplexes ( const std::vector< unsigned int > &  vtx2plit,
unsigned int  apexNb,
unsigned int  dim 
)
inline

Definition at line 55 of file VolumeOfPolytopes_Rn.h.

PolytopeToSimplexes::PolytopeToSimplexes ( const std::vector< unsigned int > &  vtx2plit,
const std::vector< unsigned int > &  prcVtx,
unsigned int  apexNb,
unsigned int  dim 
)
inline

Definition at line 61 of file VolumeOfPolytopes_Rn.h.

Member Function Documentation

void PolytopeToSimplexes::addProcessedVertex ( unsigned int  ap)
inline

Definition at line 84 of file VolumeOfPolytopes_Rn.h.

std::vector< unsigned int > PolytopeToSimplexes::buildPolytope ( ) const
inline

Definition at line 94 of file VolumeOfPolytopes_Rn.h.

bool PolytopeToSimplexes::checkSimplex ( ) const
inline

Definition at line 88 of file VolumeOfPolytopes_Rn.h.

Here is the caller graph for this function:

unsigned int PolytopeToSimplexes::dimension ( ) const
inline

Definition at line 110 of file VolumeOfPolytopes_Rn.h.

Here is the caller graph for this function:

void PolytopeToSimplexes::dump ( std::ostream &  this_ostream,
unsigned int  shift = 0 
) const
inline

Definition at line 114 of file VolumeOfPolytopes_Rn.h.

const std::vector< unsigned int >& PolytopeToSimplexes::getListOfProcessedVertices ( ) const
inline

Definition at line 68 of file VolumeOfPolytopes_Rn.h.

Here is the caller graph for this function:

const std::vector< unsigned int >& PolytopeToSimplexes::getListOfVerticesToSplit ( ) const
inline

Definition at line 76 of file VolumeOfPolytopes_Rn.h.

Here is the caller graph for this function:

void PolytopeToSimplexes::setListOfProcessedVertices ( const std::vector< unsigned int > &  LPV)
inline

Definition at line 72 of file VolumeOfPolytopes_Rn.h.

void PolytopeToSimplexes::setListOfVerticesToSplit ( const std::vector< unsigned int > &  VTS)
inline

Definition at line 80 of file VolumeOfPolytopes_Rn.h.

void PolytopeToSimplexes::switchToFullDimension ( )
inline

Definition at line 104 of file VolumeOfPolytopes_Rn.h.

Here is the caller graph for this function:

Member Data Documentation

unsigned int PolytopeToSimplexes::_dimension
protected

The current dimension space we work in.

Definition at line 131 of file VolumeOfPolytopes_Rn.h.

std::vector< unsigned int > PolytopeToSimplexes::_listOfProcessedVertices
protected

The ordered list of vertices as we go down in smaller dimensions spaces.

Definition at line 127 of file VolumeOfPolytopes_Rn.h.

std::vector< unsigned int > PolytopeToSimplexes::_listOfVerticesToSplit
protected

The ordered list of vertices to be split in lower dimensions.

Definition at line 129 of file VolumeOfPolytopes_Rn.h.


The documentation for this class was generated from the following file: