24 class QhullPointsIterator; 46 QhullPoints() : point_first(0), point_end(0), qh_qh(0), point_dimension(0) { } 70 QList<QhullPoint> toQList()
const;
71 #endif //QHULL_USES_QT 74 // Constructs QhullPoint. Cannot return reference. 119 bool contains(const QhullPoint &t) const; 129 // Modeled on qlist.h w/o QT_STRICT_ITERATORS 182 class const_iterator : public QhullPoint { 229 PrintPoints(
const char *message,
bool withIdentifier,
const QhullPoints &ps) : points(&ps), point_message(message), with_identifier(withIdentifier) {}
251 bool hasNext()
const {
return i != ps->constEnd(); }
268 #endif // QHULLPOINTS_H
ptrdiff_t difference_type
bool operator<(const QhullPoints::const_iterator &o) const
iterator(const Qhull &q, coordT *c)
const coordT * constData() const
void defineAs(const QhullPoints &other)
void defineAs(int pointDimension, countT coordinatesCount, coordT *c)
const value_type & reference
bool operator<(const iterator &o) const
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
const_iterator(QhullQh *qqh, coordT *c)
iterator(const iterator &other)
bool operator>=(const iterator &o) const
const value_type * pointer
iterator(QhullQh *qqh, int pointDimension, coordT *c)
bool operator>(const const_iterator &o) const
const_iterator(const Qhull &q, int pointDimension, coordT *c)
POD type equivalent to qhT. No virtual members.
QhullPointsIterator(const QhullPoints &other)
ConstIterator constEnd() const
coordT * extraCoordinates() const
bool operator!=(const QhullPoints::const_iterator &o) const
const_iterator constBegin() const
std::random_access_iterator_tag iterator_category
const_iterator & operator--()
QhullPoints(QhullQh *qqh)
const_iterator operator--(int)
void resetQhullQh(QhullQh *qqh)
iterator operator-(countT idx) const
QhullPoints::const_iterator const_iterator
bool operator<=(const QhullPoints::const_iterator &o) const
int point_dimension
Default dimension is qh_qh->hull_dim.
bool operator!=(const QhullPoints &other) const
const_iterator operator+(countT idx) const
const QhullPoint & operator*() const
int point_dimension
Dimension, >=0.
coordT * point_coordinates
Pointer to first coordinate, 0 if undefined.
bool operator==(const const_iterator &o) const
QhullPointsIterator & operator=(const QhullPoints &other)
iterator & operator=(const iterator &other)
bool operator<=(const const_iterator &o) const
coordT * point_first
First coordinate of an array of points of point_dimension.
QhullPoint peekNext() const
QhullPoints(int pointDimension, countT coordinateCount2, coordT *c)
const char * point_message
iterator(const int pointDimension, coordT *c)
countT lastIndexOf(const QhullPoint &t) const
QhullPoint peekPrevious() const
const_iterator(const int pointDimension, coordT *c)
QhullPoints & operator=(const QhullPoints &other)
ConstIterator end() const
const_iterator(const const_iterator &o)
bool operator!=(const iterator &o) const
iterator & operator+=(countT idx)
const_iterator & operator+=(countT idx)
const_iterator operator-(countT idx) const
void advancePoint(countT idx)
const_iterator(QhullQh *qqh, int pointDimension, coordT *c)
const_iterator & operator-=(countT idx)
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullPoints &p)
QhullPoints(const QhullPoints &other)
Copy constructor copies pointers but not contents. Needed for return by value and parameter passing...
QhullPoint operator[](countT idx) const
const_iterator operator++(int)
Interface to Qhull from C++.
QhullPoints(QhullQh *qqh, countT coordinateCount2, coordT *c)
PrintPoints print(const char *message) const
const QhullPoint & operator*() const
iterator operator+(countT idx) const
countT indexOf(const coordT *pointCoordinates) const
const_iterator(const QhullPoints &ps)
const QhullPoint operator[](countT idx) const
bool operator!=(const const_iterator &o) const
ConstIterator constBegin() const
const QhullPoint * operator->() const
bool operator==(const iterator &o) const
countT coordinateCount() const
const coordT * data() const
countT extraCoordinatesCount() const
void defineAs(countT coordinatesCount, coordT *c)
coordT * coordinates() const
bool operator>(const QhullPoints::const_iterator &o) const
difference_type operator-(const_iterator o) const
iterator(const Qhull &q, int pointDimension, coordT *c)
bool operator<(const const_iterator &o) const
const QhullPoints * points
bool operator>(const iterator &o) const
const coordT * const_iterator
const_iterator & operator++()
bool operator>=(const QhullPoints::const_iterator &o) const
const_iterator(const QhullPoints::iterator &o)
QhullPoints::iterator Iterator
QhullPoints::const_iterator ConstIterator
iterator & operator-=(countT idx)
bool includesCoordinates(const coordT *c) const
const_iterator & operator=(const const_iterator &o)
QhullPoints mid(countT idx, countT length=-1) const
Returns a subset of the points, not a copy.
QhullPoint value(countT idx) const
bool operator>=(const const_iterator &o) const
const_iterator(const Qhull &q, coordT *c)
const QhullPoint last() const
QhullPoint * operator->()
iterator(QhullQh *qqh, coordT *c)
coordT * point_end
End of point coordinates (end>=first). Trailing coordinates ignored.
difference_type operator-(iterator o) const
QhullPoint operator[](countT idx) const
ConstIterator begin() const
std::random_access_iterator_tag iterator_category
iterator(const QhullPoints &ps)
const QhullPoint at(countT idx) const
const QhullPoint front() const
std::vector< QhullPoint > toStdVector() const
bool operator==(const QhullPoints &other) const
bool operator==(const QhullPoints::const_iterator &o) const
const QhullPoint first() const
ptrdiff_t difference_type
bool operator<=(const iterator &o) const
const coordT * coordinates() const
0 if undefined
const QhullPoint * operator->() const
const QhullPoint back() const
PrintPoints printWithIdentifier(const char *message) const
PrintPoints(const char *message, bool withIdentifier, const QhullPoints &ps)