|
politopix
5.0.0
|
#include <HalfSpace_Rn.h>


Public Member Functions | |
| NormedHalfSpace_Rn (HalfSpace_Rn HS) | |
Public Member Functions inherited from HalfSpace_Rn | |
| HalfSpace_Rn () | |
| Constructor. More... | |
| HalfSpace_Rn (unsigned int n) | |
| virtual | ~HalfSpace_Rn () |
| void | setCoefficients (const vector< double > &vec) |
| double | getCoefficient (unsigned int i) const |
| void | setCoefficient (unsigned int i, double c) |
| void | setConstant (double c) |
| double | getConstant () const |
| void | negate () |
| int | dimension () const |
| std::string | getSideAsText () const |
| boost::numeric::ublas::vector< double >::const_iterator | begin () const |
| boost::numeric::ublas::vector< double >::const_iterator | end () const |
| const boost::numeric::ublas::vector< double > & | vect () const |
| double | computeDistancePointHyperplane (const boost::numeric::ublas::vector< double > &thisPoint) const |
| double | computeDistancePointHyperplane (const boost::numeric::ublas::vector< double > &thisPoint, double halfSpaceNorm) const |
| double | computeDistancePointHyperplane (const boost::numeric::ublas::vector< double > &thisPoint, boost::numeric::ublas::vector< double > &projectedPoint, double halfSpaceNorm) const |
| virtual void | dump (std::ostream &this_ostream) const |
| void | print () const |
| virtual bool | testEmptyness (const std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_IN, const std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_OUT, const std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_ON) |
| Specific to the double description algorithm Test whether an intersection with a half-space has generated an empty set or not. More... | |
| virtual bool | testEmptyness (unsigned int GN_IN, unsigned int GN_OUT, unsigned int GN_ON) |
| Specific to the double description algorithm Test whether an intersection with a half-space has generated an empty set or not. More... | |
| virtual void | noGeneratorsOUT (std::vector< boost::shared_ptr< Generator_Rn_SD > > &listOfGeneratorSD, const std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_ON) |
| Specific to the double description algorithm When chopping a polyhedral body with a hyperplane, if the set of generators OUT is empty, only keep the generators ON and ignore the generators IN. In the case of a half-space, keep things unchanged i.e. listOfGeneratorSD = GN_IN + GN_ON. More... | |
| virtual void | prepareSetOfGenerators (std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_IN, std::vector< boost::shared_ptr< Generator_Rn_SD > > &GN_OUT) |
| Specific to the double description algorithm When chopping a polyhedral body with a hyperplane, if the set of generators OUT is empty, only keep the generators ON and ignore the generators IN. In the case of a half-space, keep things unchanged i.e. listOfGeneratorSD = GN_IN + GN_ON. More... | |
Additional Inherited Members | |
Public Types inherited from HalfSpace_Rn | |
| enum | State { hs_ON = 0, hs_IN = 1, hs_OUT = 2, hs_UNKNOWN = 3, hs_IN_OR_OUT = 4, hs_OUT_TO_ON = 5 } |
Static Public Member Functions inherited from HalfSpace_Rn | |
| static std::string | getStateAsText (const HalfSpace_Rn::State &) |
Protected Attributes inherited from HalfSpace_Rn | |
| boost::numeric::ublas::vector< double > | _coefficients |
| The normal vector. More... | |
| double | _constant |
| The second member constant. More... | |
Definition at line 172 of file HalfSpace_Rn.h.
|
inline |