64 static ridgeT s_empty_ridge; 70 QhullRidge() : qh_ridge(&s_empty_ridge), qh_qh(0) {} 82 QhullFacet bottomFacet() const { return QhullFacet(qh_qh, qh_ridge->bottom); } 94 bool hasNextRidge3d(const QhullFacet &f) const; 114 #endif // QHULLRIDGE_H std::ostream & operator<<(std::ostream &os, const orgQhull::QhullRidge &r)
QhullRidge(QhullQh *qqh, ridgeT *r)
bool operator!=(const QhullRidge &other) const
QhullFacet otherFacet(const QhullFacet &f) const
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
bool operator==(const QhullRidge &other) const
ridgeT * getRidgeT() const
POD type equivalent to qhT. No virtual members.
QhullRidge(const QhullRidge &other)
A QhullFacet is the C++ equivalent to Qhull's facetT*.
Faster then interator/const_iterator due to T::base_type.
facetT * getFacetT() const
PrintRidge(const char *message, const QhullRidge &r)
QhullRidge nextRidge3d(const QhullFacet &f) const
QhullQh * qh_qh
QhullQh/qhT for ridgeT, may be 0.
QhullSet< QhullRidge > QhullRidgeSet
Interface to Qhull from C++.
QhullRidge & operator=(const QhullRidge &other)
PrintRidge print(const char *message) const
ridgeT * qh_ridge
Corresponding ridgeT, never 0.
static ridgeT s_empty_ridge
ridgeT * getBaseT() const
For QhullSet<QhullRidge>
QhullSetIterator< QhullRidge > QhullRidgeSetIterator
QhullVertexSet vertices() const
QhullFacet topFacet() const
const char * print_message
non-null message