19 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 31 , point_dimension(q.hullDimension())
69 // See qt-qhull.cpp for QList conversion 76 std::vector<QhullPoint> vs;
78 vs.push_back(i.
next());
144 if(idx>=0 && idx<
count()){
154 if(idx>=0 && idx<
count()){
201 throw QhullError(10066,
"Qhull error: coordinates %x are not at point boundary (extra %d at index %d)", extra, idx, 0.0, pointCoordinates);
216 return indexOf(pointCoordinates-extra);
255 }
else if(length<0 || idx+length>=n){
268 while(i!=ps->constEnd()){
279 while(i!=ps->constBegin()){
309 os << pr.point_message;
311 for(QhullPoints::iterator i=ps.
begin(); i!=ps.
end(); ++i){
313 if(pr.with_identifier){
PrintPoint printWithIdentifier(const char *message) const
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
POD type equivalent to qhT. No virtual members.
void resetQhullQh(QhullQh *qqh)
bool findPrevious(const QhullPoint &t)
int point_dimension
Dimension, >=0.
coordT * point_first
First coordinate of an array of points of point_dimension.
countT lastIndexOf(const QhullPoint &t) const
ConstIterator end() const
bool findNext(const QhullPoint &t)
Interface to Qhull from C++.
countT indexOf(const coordT *pointCoordinates) const
countT extraCoordinatesCount() const
int hullDimension() const
Dimension of the computed hull.
bool includesCoordinates(const coordT *c) const
QhullPoints mid(countT idx, countT length=-1) const
Returns a subset of the points, not a copy.
PrintPoint print(const char *message) const
QhullPoint value(countT idx) const
coordT * point_end
End of point coordinates (end>=first). Trailing coordinates ignored.
bool contains(const QhullPoint &t) const
ConstIterator begin() const
std::vector< QhullPoint > toStdVector() const
bool operator==(const QhullPoints &other) const
ostream & operator<<(ostream &os, const QhullPoints &p)