QhullPoints.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (c) 2009-2015 C.B. Barber. All rights reserved.
4 ** $Id: //main/2015/qhull/src/libqhullcpp/QhullPoints.h#4 $$Change: 2066 $
5 ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $
6 **
7 ****************************************************************************/
8 
9 #ifndef QHULLPOINTS_H
10 #define QHULLPOINTS_H
11 
12 extern "C" {
13  #include "libqhull_r/qhull_ra.h"
14 }
15 #include "libqhullcpp/QhullPoint.h"
16 
17 #include <cstddef> // ptrdiff_t, size_t
18 #include <ostream>
19 
20 namespace orgQhull {
21 
22 #
23  class QhullPoints;
24  class QhullPointsIterator;
25 
26 class QhullPoints {
29 
30 private:
31 #
32  coordT * point_first;
33  coordT * point_end;
34  QhullQh * qh_qh;
35  int point_dimension;
37 
38 public:
39 #
40  class const_iterator;
41  class iterator;
44 
45 #
46  QhullPoints() : point_first(0), point_end(0), qh_qh(0), point_dimension(0) { }
50  QhullPoints(int pointDimension, countT coordinateCount2, coordT *c) : point_first(c), point_end(c+coordinateCount2), qh_qh(0), point_dimension(pointDimension) { QHULL_ASSERT(pointDimension>=0); }
51  explicit QhullPoints(const Qhull &q);
52  QhullPoints(const Qhull &q, countT coordinateCount2, coordT *c);
53  QhullPoints(const Qhull &q, int pointDimension, countT coordinateCount2, coordT *c);
54  explicit QhullPoints(QhullQh *qqh) : point_first(0), point_end(0), qh_qh(qqh), point_dimension(qqh ? qqh->hull_dim : 0) { }
55  QhullPoints(QhullQh *qqh, countT coordinateCount2, coordT *c) : point_first(c), point_end(c+coordinateCount2), qh_qh(qqh), point_dimension(qqh ? qqh->hull_dim : 0) { QHULL_ASSERT(qqh && qqh->hull_dim>0); }
56  QhullPoints(QhullQh *qqh, int pointDimension, countT coordinateCount2, coordT *c);
59  QhullPoints & operator=(const QhullPoints &other) { point_first= other.point_first; point_end= other.point_end; qh_qh= other.qh_qh; point_dimension= other.point_dimension; return *this; }
61 
62 public:
63 
64 #
65 
66 #ifndef QHULL_NO_STL
67  std::vector<QhullPoint> toStdVector() const;
68 #endif //QHULL_NO_STL
69 #ifdef QHULL_USES_QT
70  QList<QhullPoint> toQList() const;
71 #endif //QHULL_USES_QT
72 
73 #
74  // Constructs QhullPoint. Cannot return reference.
75  const QhullPoint at(countT idx) const { /* point_first==0 caught by point_end assert */ coordT *p= point_first+idx*point_dimension; QHULL_ASSERT(p<point_end); return QhullPoint(qh_qh, point_dimension, p); }
76  // Constructs QhullPoint. Cannot return reference.
77  const QhullPoint back() const { return last(); }
78  QhullPoint back() { return last(); }
79  ConstIterator begin() const { return ConstIterator(*this); }
80  Iterator begin() { return Iterator(*this); }
81  ConstIterator constBegin() const { return ConstIterator(*this); }
82  const coordT * constData() const { return point_first; }
84  coordT * coordinates() const { return point_first; }
85  countT coordinateCount() const { return (countT)(point_end-point_first); } // WARN64
86  countT count() const { return (countT)size(); } // WARN64
87  const coordT * data() const { return point_first; }
88  coordT * data() { return point_first; }
89  void defineAs(int pointDimension, countT coordinatesCount, coordT *c) { QHULL_ASSERT(pointDimension>=0 && coordinatesCount>=0 && c!=0); point_first= c; point_end= c+coordinatesCount; point_dimension= pointDimension; }
90  void defineAs(countT coordinatesCount, coordT *c) { QHULL_ASSERT((point_dimension>0 && coordinatesCount>=0 && c!=0) || (c==0 && coordinatesCount==0)); point_first= c; point_end= c+coordinatesCount; }
91  void defineAs(const QhullPoints &other) { point_first= other.point_first; point_end= other.point_end; qh_qh= other.qh_qh; point_dimension= other.point_dimension; }
92  int dimension() const { return point_dimension; }
96  countT extraCoordinatesCount() const; // WARN64
97  // Constructs QhullPoint. Cannot return reference.
100  // Constructs QhullPoint. Cannot return reference.
101  const QhullPoint front() const { return first(); }
102  QhullPoint front() { return first(); }
103  bool includesCoordinates(const coordT *c) const { return c>=point_first && c<point_end; }
104  bool isEmpty() const { return (point_end==point_first || point_dimension==0); }
105  // Constructs QhullPoint. Cannot return reference.
108  bool operator==(const QhullPoints &other) const;
109  bool operator!=(const QhullPoints &other) const { return ! operator==(other); }
110  QhullPoint operator[](countT idx) const { return at(idx); }
111  QhullQh * qh() const { return qh_qh; }
112  void resetQhullQh(QhullQh *qqh);
113  void setDimension(int d) { point_dimension= d; }
114  size_t size() const { return point_dimension ? (point_end-point_first)/point_dimension : 0; }
115  QhullPoint value(countT idx) const;
116  QhullPoint value(countT idx, QhullPoint &defaultValue) const;
117 
118 #
119  bool contains(const QhullPoint &t) const;
120  countT count(const QhullPoint &t) const;
121  countT indexOf(const coordT *pointCoordinates) const;
122  countT indexOf(const coordT *pointCoordinates, int noThrow) const;
123  countT indexOf(const QhullPoint &t) const;
124  countT lastIndexOf(const QhullPoint &t) const;
126  QhullPoints mid(countT idx, countT length= -1) const;
127 
128 #
129  // Modeled on qlist.h w/o QT_STRICT_ITERATORS
130  // before const_iterator for conversion with comparison operators
131  // See: QhullSet.h
132  class iterator : public QhullPoint {
133 
134  public:
135  typedef std::random_access_iterator_tag iterator_category;
136  typedef QhullPoint value_type;
137  typedef value_type * pointer;
139  typedef ptrdiff_t difference_type;
140 
141  explicit iterator(const QhullPoints &ps) : QhullPoint(ps.qh(), ps.dimension(), ps.coordinates()) {}
142  iterator(const int pointDimension, coordT *c): QhullPoint(pointDimension, c) {}
143  iterator(const Qhull &q, coordT *c): QhullPoint(q, c) {}
144  iterator(const Qhull &q, int pointDimension, coordT *c): QhullPoint(q, pointDimension, c) {}
145  iterator(QhullQh *qqh, coordT *c): QhullPoint(qqh, c) {}
146  iterator(QhullQh *qqh, int pointDimension, coordT *c): QhullPoint(qqh, pointDimension, c) {}
147  iterator(const iterator &other): QhullPoint(*other) {}
148  iterator & operator=(const iterator &other) { defineAs( const_cast<iterator &>(other)); return *this; }
149 
150  // Need 'const QhullPoint' to maintain const
151  const QhullPoint & operator*() const { return *this; }
152  QhullPoint & operator*() { return *this; }
153  const QhullPoint * operator->() const { return this; }
154  QhullPoint * operator->() { return this; }
155  // value instead of reference since advancePoint() modifies self
156  QhullPoint operator[](countT idx) const { QhullPoint result= *this; result.advancePoint(idx); return result; }
158  bool operator!=(const iterator &o) const { return !operator==(o); }
160  bool operator<=(const iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates <= o.point_coordinates; }
161  bool operator>(const iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates > o.point_coordinates; }
162  bool operator>=(const iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates >= o.point_coordinates; }
163  // reinterpret_cast to break circular dependency
164  bool operator==(const QhullPoints::const_iterator &o) const { QHULL_ASSERT(qh_qh==reinterpret_cast<const iterator &>(o).qh_qh); return (point_coordinates==reinterpret_cast<const iterator &>(o).point_coordinates && point_dimension==reinterpret_cast<const iterator &>(o).point_dimension); }
165  bool operator!=(const QhullPoints::const_iterator &o) const { return !operator==(reinterpret_cast<const iterator &>(o)); }
166  bool operator<(const QhullPoints::const_iterator &o) const { QHULL_ASSERT(qh_qh==reinterpret_cast<const iterator &>(o).qh_qh); return point_coordinates < reinterpret_cast<const iterator &>(o).point_coordinates; }
167  bool operator<=(const QhullPoints::const_iterator &o) const { QHULL_ASSERT(qh_qh==reinterpret_cast<const iterator &>(o).qh_qh); return point_coordinates <= reinterpret_cast<const iterator &>(o).point_coordinates; }
168  bool operator>(const QhullPoints::const_iterator &o) const { QHULL_ASSERT(qh_qh==reinterpret_cast<const iterator &>(o).qh_qh); return point_coordinates > reinterpret_cast<const iterator &>(o).point_coordinates; }
169  bool operator>=(const QhullPoints::const_iterator &o) const { QHULL_ASSERT(qh_qh==reinterpret_cast<const iterator &>(o).qh_qh); return point_coordinates >= reinterpret_cast<const iterator &>(o).point_coordinates; }
170  iterator & operator++() { advancePoint(1); return *this; }
171  iterator operator++(int) { iterator n= *this; operator++(); return iterator(n); }
172  iterator & operator--() { advancePoint(-1); return *this; }
173  iterator operator--(int) { iterator n= *this; operator--(); return iterator(n); }
174  iterator & operator+=(countT idx) { advancePoint(idx); return *this; }
175  iterator & operator-=(countT idx) { advancePoint(-idx); return *this; }
176  iterator operator+(countT idx) const { iterator n= *this; n.advancePoint(idx); return n; }
177  iterator operator-(countT idx) const { iterator n= *this; n.advancePoint(-idx); return n; }
179  };//QhullPoints::iterator
180 
181 #
182  class const_iterator : public QhullPoint {
184 
185  public:
186  typedef std::random_access_iterator_tag iterator_category;
187  typedef QhullPoint value_type;
188  typedef const value_type * pointer;
189  typedef const value_type & reference;
190  typedef ptrdiff_t difference_type;
191 
193  explicit const_iterator(const QhullPoints &ps) : QhullPoint(ps.qh(), ps.dimension(), ps.coordinates()) {}
194  const_iterator(const int pointDimension, coordT *c): QhullPoint(pointDimension, c) {}
195  const_iterator(const Qhull &q, coordT *c): QhullPoint(q, c) {}
196  const_iterator(const Qhull &q, int pointDimension, coordT *c): QhullPoint(q, pointDimension, c) {}
197  const_iterator(QhullQh *qqh, coordT *c): QhullPoint(qqh, c) {}
198  const_iterator(QhullQh *qqh, int pointDimension, coordT *c): QhullPoint(qqh, pointDimension, c) {}
200  const_iterator &operator=(const const_iterator &o) { defineAs(const_cast<const_iterator &>(o)); return *this; }
201 
202  // value/non-const since advancePoint(1), etc. modifies self
203  const QhullPoint & operator*() const { return *this; }
204  const QhullPoint * operator->() const { return this; }
205  // value instead of reference since advancePoint() modifies self
206  const QhullPoint operator[](countT idx) const { QhullPoint n= *this; n.advancePoint(idx); return n; }
207  bool operator==(const const_iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return (point_coordinates==o.point_coordinates && point_dimension==o.point_dimension); }
208  bool operator!=(const const_iterator &o) const { return ! operator==(o); }
209  bool operator<(const const_iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates < o.point_coordinates; }
210  bool operator<=(const const_iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates <= o.point_coordinates; }
211  bool operator>(const const_iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates > o.point_coordinates; }
212  bool operator>=(const const_iterator &o) const { QHULL_ASSERT(qh_qh==o.qh_qh); return point_coordinates >= o.point_coordinates; }
213  const_iterator &operator++() { advancePoint(1); return *this; }
214  const_iterator operator++(int) { const_iterator n= *this; operator++(); return const_iterator(n); }
215  const_iterator &operator--() { advancePoint(-1); return *this; }
216  const_iterator operator--(int) { const_iterator n= *this; operator--(); return const_iterator(n); }
217  const_iterator &operator+=(countT idx) { advancePoint(idx); return *this; }
218  const_iterator &operator-=(countT idx) { advancePoint(-idx); return *this; }
219  const_iterator operator+(countT idx) const { const_iterator n= *this; n.advancePoint(idx); return n; }
220  const_iterator operator-(countT idx) const { const_iterator n= *this; n.advancePoint(-idx); return n; }
222  };//QhullPoints::const_iterator
223 
224 #
225  struct PrintPoints{
226  const QhullPoints *points;
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) {}
230  };//PrintPoints
231  PrintPoints print(const char *message) const { return PrintPoints(message, false, *this); }
232  PrintPoints printWithIdentifier(const char *message) const { return PrintPoints(message, true, *this); }
233 };//QhullPoints
234 
235 // Instead of QHULL_DECLARE_SEQUENTIAL_ITERATOR because next(),etc would return a reference to a temporary
237 {
239 
240 #
241 private:
242  const QhullPoints *ps;
243  const_iterator i;
244 
245 public:
246  QhullPointsIterator(const QhullPoints &other) : ps(&other), i(ps->constBegin()) {}
247  QhullPointsIterator &operator=(const QhullPoints &other) { ps = &other; i = ps->constBegin(); return *this; }
248 
249  bool findNext(const QhullPoint &t);
250  bool findPrevious(const QhullPoint &t);
251  bool hasNext() const { return i != ps->constEnd(); }
252  bool hasPrevious() const { return i != ps->constBegin(); }
253  QhullPoint next() { return *i++; }
254  QhullPoint peekNext() const { return *i; }
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(); }
259 };//QhullPointsIterator
260 
261 }//namespace orgQhull
262 
263 #
264 
265 std::ostream & operator<<(std::ostream &os, const orgQhull::QhullPoints &p);
266 std::ostream & operator<<(std::ostream &os, const orgQhull::QhullPoints::PrintPoints &pr);
267 
268 #endif // QHULLPOINTS_H
orgQhull::QhullPoints::const_iterator
Definition: QhullPoints.h:189
orgQhull::QhullPoints::size
size_t size() const
Definition: QhullPoints.h:120
orgQhull::QhullPoints::coordinates
coordT * coordinates() const
Definition: QhullPoints.h:90
orgQhull::QhullPoints::iterator::iterator
iterator(const QhullPoints &ps)
Definition: QhullPoints.h:147
orgQhull::QhullPoints::iterator::operator==
bool operator==(const iterator &o) const
Definition: QhullPoints.h:163
orgQhull::QhullPoints::const_iterator::const_iterator
const_iterator(const QhullPoints::iterator &o)
Definition: QhullPoints.h:198
coordT
#define coordT
Definition: libqhull.h:80
orgQhull::QhullPoints::PrintPoints
Definition: QhullPoints.h:231
orgQhull::QhullPoints::iterator::operator<
bool operator<(const iterator &o) const
Definition: QhullPoints.h:165
orgQhull::QhullPoints::operator[]
QhullPoint operator[](countT idx) const
Definition: QhullPoints.h:116
orgQhull::QhullPoints::first
const QhullPoint first() const
Definition: QhullPoints.h:104
countT
int countT
Definition: user_r.h:182
orgQhull::QhullPoint::advancePoint
void advancePoint(countT idx)
Definition: QhullPoint.h:118
print
void print(const Eigen::SparseMatrix< Scalar, Options > &mat)
orgQhull::QhullPoints::iterator::pointer
value_type * pointer
Definition: QhullPoints.h:143
orgQhull::QhullPoints::coordinateCount
countT coordinateCount() const
Definition: QhullPoints.h:91
orgQhull::QhullPoints::point_first
coordT * point_first
First coordinate of an array of points of point_dimension.
Definition: QhullPoints.h:38
orgQhull
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
Definition: Coordinates.cpp:21
qhT::hull_dim
int hull_dim
Definition: libqhull.h:591
orgQhull::QhullPoints::last
const QhullPoint last() const
Definition: QhullPoints.h:112
orgQhull::QhullPoints::constBegin
ConstIterator constBegin() const
Definition: QhullPoints.h:87
orgQhull::QhullPoints
Java-style iterator.
Definition: QhullPoints.h:34
operator<<
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullPoints &p)
orgQhull::QhullPoint
Definition: QhullPoint.h:39
orgQhull::QhullPointsIterator
Definition: QhullPoints.h:242
orgQhull::QhullPoints::point_end
coordT * point_end
End of point coordinates (end>=first). Trailing coordinates ignored.
Definition: QhullPoints.h:39
orgQhull::QhullPoints::qh_qh
QhullQh * qh_qh
Definition: QhullPoints.h:40
orgQhull::QhullPoints::iterator::operator+
iterator operator+(countT idx) const
Definition: QhullPoints.h:182
orgQhull::QhullPoints::back
const QhullPoint back() const
Definition: QhullPoints.h:83
orgQhull::QhullPoints::~QhullPoints
~QhullPoints()
Definition: QhullPoints.h:66
orgQhull::QhullPoints::iterator::operator->
const QhullPoint * operator->() const
Definition: QhullPoints.h:159
orgQhull::QhullPoints::iterator::iterator_category
std::random_access_iterator_tag iterator_category
Definition: QhullPoints.h:141
orgQhull::QhullPoints::iterator::operator=
iterator & operator=(const iterator &other)
Definition: QhullPoints.h:154
orgQhull::QhullPoints::iterator::operator[]
QhullPoint operator[](countT idx) const
Definition: QhullPoints.h:162
orgQhull::QhullPoints::const_iterator::difference_type
ptrdiff_t difference_type
Definition: QhullPoints.h:196
orgQhull::QhullPoints::QhullPoints
QhullPoints()
Definition: QhullPoints.h:55
orgQhull::QhullPoints::QhullPoints
QhullPoints(int pointDimension, countT coordinateCount2, coordT *c)
Definition: QhullPoints.h:56
orgQhull::QhullPoints::iterator::operator*
const QhullPoint & operator*() const
Definition: QhullPoints.h:157
orgQhull::QhullPoints::iterator::operator+=
iterator & operator+=(countT idx)
Definition: QhullPoints.h:180
orgQhull::QhullPoints::iterator::operator-=
iterator & operator-=(countT idx)
Definition: QhullPoints.h:181
orgQhull::QhullPoints::isEmpty
bool isEmpty() const
Definition: QhullPoints.h:110
orgQhull::QhullPoints::iterator::value_type
QhullPoint value_type
Definition: QhullPoints.h:142
orgQhull::QhullPoints::qh
QhullQh * qh() const
Definition: QhullPoints.h:117
orgQhull::QhullPoints::setDimension
void setDimension(int d)
Definition: QhullPoints.h:119
orgQhull::QhullPoints::iterator::operator>
bool operator>(const iterator &o) const
Definition: QhullPoints.h:167
orgQhull::Qhull
Interface to Qhull from C++.
Definition: Qhull.h:49
orgQhull::QhullPoints::value
QhullPoint value(countT idx) const
Definition: QhullPoints.cpp:147
d
d
orgQhull::QhullPoints::const_iterator::const_iterator
const_iterator(const QhullPoints &ps)
Definition: QhullPoints.h:199
c
c
orgQhull::QhullPoints::data
const coordT * data() const
Definition: QhullPoints.h:93
orgQhull::QhullPoints::iterator::operator++
iterator & operator++()
Definition: QhullPoints.h:176
orgQhull::QhullPoints::iterator::operator!=
bool operator!=(const iterator &o) const
Definition: QhullPoints.h:164
orgQhull::QhullPoints::extraCoordinatesCount
countT extraCoordinatesCount() const
Definition: QhullPoints.cpp:93
orgQhull::QhullPoints::iterator::difference_type
ptrdiff_t difference_type
Definition: QhullPoints.h:145
orgQhull::QhullQh
POD type equivalent to qhT. No virtual members.
Definition: QhullQh.h:58
orgQhull::QhullPoints::operator==
bool operator==(const QhullPoints &other) const
Definition: QhullPoints.cpp:104
orgQhull::QhullPoint::qh
QhullQh * qh()
Definition: QhullPoint.h:103
qhull_ra.h
q
q
orgQhull::QhullPoints::includesCoordinates
bool includesCoordinates(const coordT *c) const
Definition: QhullPoints.h:109
orgQhull::QhullPoints::iterator
Definition: QhullPoints.h:138
orgQhull::QhullPoint::iterator
const typedef coordT * iterator
Definition: QhullPoint.h:44
orgQhull::QhullPoint::dimension
int dimension() const
Definition: QhullPoint.h:95
orgQhull::QhullPoints::count
countT count() const
Definition: QhullPoints.h:92
orgQhull::QhullPoints::toStdVector
std::vector< QhullPoint > toStdVector() const
Definition: QhullPoints.cpp:79
orgQhull::QhullPoints::ConstIterator
QhullPoints::const_iterator ConstIterator
Definition: QhullPoints.h:47
QhullPoint.h
orgQhull::QhullPoints::front
const QhullPoint front() const
Definition: QhullPoints.h:107
orgQhull::QhullPoints::constData
const coordT * constData() const
Definition: QhullPoints.h:88
orgQhull::QhullPoints::dimension
int dimension() const
Definition: QhullPoints.h:98
orgQhull::QhullPoints::iterator::operator>=
bool operator>=(const iterator &o) const
Definition: QhullPoints.h:168
orgQhull::QhullPoint::point_dimension
int point_dimension
Default dimension is qh_qh->hull_dim.
Definition: QhullPoint.h:55
orgQhull::QhullPoints::operator!=
bool operator!=(const QhullPoints &other) const
Definition: QhullPoints.h:115
orgQhull::QhullPoints::extraCoordinates
coordT * extraCoordinates() const
Definition: QhullPoints.h:101
orgQhull::QhullPoints::begin
ConstIterator begin() const
Definition: QhullPoints.h:85
orgQhull::QhullPoints::mid
QhullPoints mid(countT idx, countT length=-1) const
Returns a subset of the points, not a copy.
Definition: QhullPoints.cpp:256
orgQhull::QhullPoint::point_coordinates
coordT * point_coordinates
Pointer to first coordinate, 0 if undefined.
Definition: QhullPoint.h:51
orgQhull::QhullPoints::at
const QhullPoint at(countT idx) const
Definition: QhullPoints.h:81
QHULL_ASSERT
#define QHULL_ASSERT
Definition: QhullError.h:16
orgQhull::QhullPoint::defineAs
void defineAs(coordT *c)
Definition: QhullPoint.h:92
orgQhull::QhullPoints::end
ConstIterator end() const
Definition: QhullPoints.h:99
orgQhull::QhullPoints::Iterator
QhullPoints::iterator Iterator
Definition: QhullPoints.h:49
orgQhull::QhullPoints::point_dimension
int point_dimension
Dimension, >=0.
Definition: QhullPoints.h:42
orgQhull::QhullPoints::defineAs
void defineAs(int pointDimension, countT coordinatesCount, coordT *c)
Definition: QhullPoints.h:95
orgQhull::QhullPoints::lastIndexOf
countT lastIndexOf(const QhullPoint &t) const
Definition: QhullPoints.cpp:241
orgQhull::QhullPoints::operator=
QhullPoints & operator=(const QhullPoints &other)
Definition: QhullPoints.h:65
orgQhull::QhullPoints::iterator::operator-
iterator operator-(countT idx) const
Definition: QhullPoints.h:183
orgQhull::QhullPoints::indexOf
countT indexOf(const coordT *pointCoordinates) const
Definition: QhullPoints.cpp:198
orgQhull::QhullPoints::iterator::reference
value_type & reference
Definition: QhullPoints.h:144
orgQhull::QhullPoints::iterator::operator<=
bool operator<=(const iterator &o) const
Definition: QhullPoints.h:166
orgQhull::QhullPoints::resetQhullQh
void resetQhullQh(QhullQh *qqh)
Definition: QhullPoints.cpp:138
orgQhull::QhullPoints::constEnd
ConstIterator constEnd() const
Definition: QhullPoints.h:89
orgQhull::QhullPoints::iterator::operator--
iterator & operator--()
Definition: QhullPoints.h:178
orgQhull::QhullPoint::qh_qh
QhullQh * qh_qh
Definition: QhullPoint.h:52


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58