22 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 23 #pragma warning( disable : 4611) 32 , qhsettemp_defined(false)
69 throw QhullError(10077,
"QhullVertexSet: Cannot use copy constructor since qhsettemp_defined (e.g., QhullVertexSet for a set and/or list of QhFacet). Contains %d vertices", other.
count());
81 throw QhullError(10078,
"QhullVertexSet: Cannot use copy constructor since qhsettemp_defined (e.g., QhullVertexSet for a set and/or list of QhFacet). Contains %d vertices", other.
count());
111 std::vector<QhullVertex> vs;
118 #endif //QHULL_NO_STL 133 operator<<(ostream &os,
const QhullVertexSet::PrintIdentifiers &pr)
135 os << pr.print_message;
136 for(QhullVertexSet::const_iterator i= pr.vertex_set->begin(); i!=pr.vertex_set->end(); ++i){
138 os <<
" v" << v.
id();
146 operator<<(ostream &os,
const QhullVertexSet::PrintVertexSet &pr){
148 os << pr.print_message;
154 os <<
" p" << p.
id() <<
"(v" << v.
id() <<
")";
std::vector< QhullVertex > toStdVector() const
QhullSetIterator< QhullVertex > QhullVertexSetIterator
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
void maybeThrowQhullMessage(int exitCode)
QhullSet< T > & operator=(const QhullSet< T > &other)
POD type equivalent to qhT. No virtual members.
Faster then interator/const_iterator due to T::base_type.
QhullVertexSet & operator=(const QhullVertexSet &other)
ostream & operator<<(ostream &os, const QhullVertexSet::PrintIdentifiers &pr)
Print Vertex identifiers to stream. Space prefix. From qh_printVertexheader [io_r.c].
void qh_settempfree(setT **set)
Interface to Qhull from C++.
QhullVertexSet()
Default constructor disabled. Will implement allocation later.
void defineAs(setT *s)
Not type-safe since setT may contain any type.
countT count(const T &t) const
setT * qh_facetvertices(facetT *facetlist, setT *facets, boolT allfacets)