22 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 23 #pragma warning( disable : 4611) // interaction between '_setjmp' and C++ object destruction is non-portable 24 #pragma warning( disable : 4996) // function was declared deprecated(strcpy, localtime, etc.) 38 std::vector<QhullFacet> vs;
57 for(QhullFacetSet::const_iterator i=
begin(); i !=
end(); ++i){
59 if(f==facet && f.
isGood()){
73 for(QhullFacetSet::const_iterator i=
begin(); i !=
end(); ++i){
89 for(QhullFacetSet::const_iterator i=
begin(); i !=
end(); ++i){
91 if(f==facet && f.
isGood()){
116 operator<<(ostream &os,
const QhullFacetSet::PrintFacetSet &pr)
118 os << pr.print_message;
120 for(QhullFacetSet::iterator i=fs.
begin(); i != fs.
end(); ++i){
131 operator<<(ostream &os,
const QhullFacetSet::PrintIdentifiers &p)
133 os << p.print_message;
134 for(QhullFacetSet::const_iterator i=p.facet_set->begin(); i!=p.facet_set->end(); ++i){
140 }
else if(p.facet_set->isSelectAll() || f.
isGood()){
141 os <<
" f" << f.
id();
ostream & operator<<(ostream &os, const QhullFacetSet &fs)
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
A QhullFacet is the C++ equivalent to Qhull's facetT*.
Faster then interator/const_iterator due to T::base_type.
facetT * getFacetT() const
#define qh_DUPLICATEridge
bool contains(const T &t) const
bool contains(const QhullFacet &f) const
countT count() const
Filtered by facet.isGood(). May be 0 when !isEmpty().
const PrintFacetSet print(const char *message) const
std::vector< QhullFacet > toStdVector() const