Go to the documentation of this file.
37 std::string errorMessage(
"List of facets not allocated in Generator_Rn::removeFacet");
38 throw std::domain_error(errorMessage);
42 throw std::out_of_range(errorMessage);
44 std::vector< boost::shared_ptr<HalfSpace_Rn> >::iterator itRemove =
_supportFacets.begin() + j;
51 std::vector< boost::shared_ptr<HalfSpace_Rn> >::const_iterator it =
_supportFacets.begin();
Generator_Rn()
Create an empty generator.
bool isFacetInside(boost::shared_ptr< HalfSpace_Rn > F) const
Check whether the given half-space is inside the generator's list.
std::vector< boost::shared_ptr< HalfSpace_Rn > > _supportFacets
The list of all support facets.
void removeFacet(unsigned int i)
Remove the i-th facet in list.
vector< double > _coordinates
The set of coordinates.
unsigned int numberOfFacets() const
Return the total number of support faces.
static std::string concatStrings(int i, const std::string &functionName)
Useful function to provide error message to the exception mechanism.
~Generator_Rn()
Destructor.