Go to the documentation of this file.
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 {
227 const char * point_message;
228 bool with_identifier;
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(); }
252 bool hasPrevious()
const {
return i != ps->constBegin(); }
255 QhullPoint peekPrevious()
const { const_iterator p = i;
return *--p; }
256 QhullPoint previous() {
return *--i; }
257 void toBack() { i = ps->constEnd(); }
258 void toFront() { i = ps->constBegin(); }
268 #endif // QHULLPOINTS_H
coordT * coordinates() const
iterator(const QhullPoints &ps)
bool operator==(const iterator &o) const
const_iterator(const QhullPoints::iterator &o)
bool operator<(const iterator &o) const
QhullPoint operator[](countT idx) const
const QhullPoint first() const
void advancePoint(countT idx)
void print(const Eigen::SparseMatrix< Scalar, Options > &mat)
countT coordinateCount() const
coordT * point_first
First coordinate of an array of points of point_dimension.
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
const QhullPoint last() const
ConstIterator constBegin() const
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullPoints &p)
coordT * point_end
End of point coordinates (end>=first). Trailing coordinates ignored.
iterator operator+(countT idx) const
const QhullPoint back() const
const QhullPoint * operator->() const
std::random_access_iterator_tag iterator_category
iterator & operator=(const iterator &other)
QhullPoint operator[](countT idx) const
ptrdiff_t difference_type
QhullPoints(int pointDimension, countT coordinateCount2, coordT *c)
const QhullPoint & operator*() const
iterator & operator+=(countT idx)
iterator & operator-=(countT idx)
bool operator>(const iterator &o) const
Interface to Qhull from C++.
QhullPoint value(countT idx) const
const_iterator(const QhullPoints &ps)
const coordT * data() const
bool operator!=(const iterator &o) const
countT extraCoordinatesCount() const
ptrdiff_t difference_type
POD type equivalent to qhT. No virtual members.
bool operator==(const QhullPoints &other) const
bool includesCoordinates(const coordT *c) const
const typedef coordT * iterator
std::vector< QhullPoint > toStdVector() const
QhullPoints::const_iterator ConstIterator
const QhullPoint front() const
const coordT * constData() const
bool operator>=(const iterator &o) const
int point_dimension
Default dimension is qh_qh->hull_dim.
bool operator!=(const QhullPoints &other) const
coordT * extraCoordinates() const
ConstIterator begin() const
QhullPoints mid(countT idx, countT length=-1) const
Returns a subset of the points, not a copy.
coordT * point_coordinates
Pointer to first coordinate, 0 if undefined.
const QhullPoint at(countT idx) const
ConstIterator end() const
QhullPoints::iterator Iterator
int point_dimension
Dimension, >=0.
void defineAs(int pointDimension, countT coordinatesCount, coordT *c)
countT lastIndexOf(const QhullPoint &t) const
QhullPoints & operator=(const QhullPoints &other)
iterator operator-(countT idx) const
countT indexOf(const coordT *pointCoordinates) const
bool operator<=(const iterator &o) const
void resetQhullQh(QhullQh *qqh)
ConstIterator constEnd() const
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58