politopix  5.0.0
NonConvexPolytope Class Reference

#include <Voronoi_Rn.h>

Collaboration diagram for NonConvexPolytope:
Collaboration graph

Public Member Functions

 NonConvexPolytope ()
 
virtual ~NonConvexPolytope ()
 
void addFacetAndItsVertices (boost::shared_ptr< HalfSpace_Rn > hs, std::vector< boost::shared_ptr< Generator_Rn > > &listOfGen)
 
const std::vector< boost::shared_ptr< HalfSpace_Rn > > & getListOfHalfSpaces () const
 
const std::vector< std::vector< boost::shared_ptr< Generator_Rn > > > & getListOfGeneratorsPerFacet () const
 
void dump (std::ostream &this_ostream) const
 

Protected Attributes

std::vector< boost::shared_ptr< HalfSpace_Rn > > _listOfHalfSpaces
 The list of half-spaces defining the polyhedron. More...
 
std::vector< std::vector< boost::shared_ptr< Generator_Rn > > > _listOfGeneratorsPerFacet
 For each facet the list of vertices, they are pointers on the former voronoi cells i.e. convex polytopes. More...
 

Detailed Description

Definition at line 293 of file Voronoi_Rn.h.

Constructor & Destructor Documentation

◆ NonConvexPolytope()

NonConvexPolytope::NonConvexPolytope ( )
inline

Definition at line 297 of file Voronoi_Rn.h.

◆ ~NonConvexPolytope()

virtual NonConvexPolytope::~NonConvexPolytope ( )
inlinevirtual

Definition at line 299 of file Voronoi_Rn.h.

Member Function Documentation

◆ addFacetAndItsVertices()

void NonConvexPolytope::addFacetAndItsVertices ( boost::shared_ptr< HalfSpace_Rn hs,
std::vector< boost::shared_ptr< Generator_Rn > > &  listOfGen 
)
inline

Definition at line 301 of file Voronoi_Rn.h.

◆ dump()

void NonConvexPolytope::dump ( std::ostream &  this_ostream) const
inline

Definition at line 310 of file Voronoi_Rn.h.

◆ getListOfGeneratorsPerFacet()

const std::vector< std::vector< boost::shared_ptr<Generator_Rn> > >& NonConvexPolytope::getListOfGeneratorsPerFacet ( ) const
inline

Definition at line 308 of file Voronoi_Rn.h.

◆ getListOfHalfSpaces()

const std::vector< boost::shared_ptr<HalfSpace_Rn> >& NonConvexPolytope::getListOfHalfSpaces ( ) const
inline

Definition at line 306 of file Voronoi_Rn.h.

Member Data Documentation

◆ _listOfGeneratorsPerFacet

std::vector< std::vector< boost::shared_ptr<Generator_Rn> > > NonConvexPolytope::_listOfGeneratorsPerFacet
protected

For each facet the list of vertices, they are pointers on the former voronoi cells i.e. convex polytopes.

Definition at line 331 of file Voronoi_Rn.h.

◆ _listOfHalfSpaces

std::vector< boost::shared_ptr<HalfSpace_Rn> > NonConvexPolytope::_listOfHalfSpaces
protected

The list of half-spaces defining the polyhedron.

Definition at line 329 of file Voronoi_Rn.h.


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