10 #define QHHYPERPLANE_H 28 class QhullHyperplane; 30 class QhullHyperplaneIterator;
36 typedef const coordT * iterator; 43 coordT * hyperplane_coordinates; 45 coordT hyperplane_offset; 46 int hyperplane_dimension; 67 QList<coordT> toQList()
const;
68 #endif //QHULL_USES_QT 89 iterator begin() { return hyperplane_coordinates; } 99 double distance(const QhullPoint &p) const; 104 struct PrintHyperplane{ 108 PrintHyperplane(
const char *message,
const char *offsetMessage,
const QhullHyperplane &p) : hyperplane(&p), print_message(message), hyperplane_offset_message(offsetMessage) {}
124 #endif // QHHYPERPLANE_H coordT hyperplane_offset
Distance from hyperplane to origin.
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
bool operator!=(const QhullHyperplane &other) const
POD type equivalent to qhT. No virtual members.
QhullHyperplane(QhullQh *qqh)
const char * print_message
non-null message
PrintHyperplane print(const char *message, const char *offsetMessage) const
QhullHyperplane & operator=(const QhullHyperplane &other)
PrintHyperplane print(const char *message) const
coordT & operator[](int idx)
const coordT * coordinates() const
int hyperplane_dimension
Dimension of hyperplane.
const_iterator constBegin() const
void defineAs(QhullHyperplane &other)
Creates an alias to other using the same qh_qh.
const_iterator constEnd() const
void setDimension(int hyperplaneDimension)
Interface to Qhull from C++.
QhullHyperplane(const QhullHyperplane &other)
std::vector< coordT > toStdVector() const
double hyperplaneAngle(const QhullHyperplane &other) const
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullHyperplane::PrintHyperplane &pr)
const QhullHyperplane * hyperplane
QhullQh * qh_qh
qhT for distanceEpsilon() in operator==
const_iterator begin() const
QhullHyperplane(QhullQh *qqh, int hyperplaneDimension, coordT *c, coordT hyperplaneOffset)
bool operator==(const QhullHyperplane &other) const
void defineAs(int hyperplaneDimension, coordT *c, coordT hyperplaneOffset)
void setCoordinates(coordT *c)
const_iterator end() const
coordT * hyperplane_coordinates
Normal to hyperplane. facetT.normal is normalized to 1.0.
QhullHyperplane::iterator Iterator
const coordT * const_iterator
void setOffset(coordT hyperplaneOffset)
const char * hyperplane_offset_message
non-null message
#define QHULL_DECLARE_SEQUENTIAL_ITERATOR(C, T)
const coordT & operator[](int idx) const
PrintHyperplane(const char *message, const char *offsetMessage, const QhullHyperplane &p)
QhullHyperplane::const_iterator ConstIterator