48 Coordinates origin_point; 50 Coordinates feasible_point; 55 Qhull(const RboxPoints &rboxPoints, const char *qhullCommand2); 56 Qhull(
const char *inputComment2,
int pointDimension,
int pointCount,
const realT *pointCoordinates,
const char *qhullCommand2);
60 Qhull & operator=(const Qhull &);
68 void checkIfQhullInitialized(); 89 double angleEpsilon() const { return qh_qh->angleEpsilon(); } 90 void appendQhullMessage(const std::string &s) { qh_qh->appendQhullMessage(s); } 102 QhullFacet beginFacet() const { return QhullFacet(qh_qh, qh_qh->facet_list); } 122 void runQhull(
const char *inputComment2,
int pointDimension,
int pointCount,
const realT *pointCoordinates,
const char *qhullCommand2);
QhullPoint inputOrigin()
Return origin point for qh.input_dim.
void setFactorEpsilon(double a)
double distanceEpsilon() const
Epsilon for distance to hyperplane.
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
void enableOutputStream()
bool hasQhullMessage() const
hasQhullMessage does not throw errors (~Qhull)
POD type equivalent to qhT. No virtual members.
QhullPointSet otherPoints() const
double factorEpsilon() const
Qhull()
call runQhull() next
A QhullFacet is the C++ equivalent to Qhull's facetT*.
QhullFacet firstFacet() const
coordT * pointCoordinateEnd() const
Coordinates origin_point
qhT for this instance
QhullPoints points() const
bool hasOutputStream() const
QhullVertexList vertexList() const
Return vertices of the convex hull.
void initializeFeasiblePoint(int hulldim)
void defineVertexNeighborFacets()
Automatically called if merging facets or Voronoi diagram.
QhullVertex beginVertex() const
QhullVertex firstVertex() const
QhullFacetList facetList() const
const char * inputComment() const
void setErrorStream(std::ostream *os)
countT vertexCount() const
Coordinates feasible_point
True at start of runQhull. Errors if call again.
void clearQhullMessage()
clearQhullMessage does not throw errors (~Qhull)
QhullFacet beginFacet() const
void disableOutputStream()
Interface to Qhull from C++.
int rotateRandom() const
Return QRn for repeating QR0 runs.
void enableOutputStream()
void setFeasiblePoint(const Coordinates &c)
Sets qh.feasible_point via initializeFeasiblePoint.
void runQhull(const RboxPoints &rboxPoints, const char *qhullCommand2)
For qhull commands, see http://www.qhull.org/html/qhull.htm or html/qhull.htm.
QhullVertex endVertex() const
int hullDimension() const
Dimension of the computed hull.
QhullPoint origin()
non-const due to QhullPoint
void setOutputStream(std::ostream *os)
void setFactorEpsilon(double a)
std::string qhullMessage() const
qhullMessage does not throw errors (~Qhull)
const char * qhullCommand() const
bool hasQhullMessage() const
void setOutputStream(std::ostream *os)
Updates use_output_stream.
std::string qhullMessage() const
Coordinates feasiblePoint() const
const char * rboxCommand() const
void disableOutputStream()
bool hasOutputStream() const
void setErrorStream(std::ostream *os)
int dimension() const
Dimension of input and result.
double distanceEpsilon() const
Epsilon for distance to hyperplane.
QhullFacet endFacet() const
coordT * pointCoordinateBegin() const
Same as points().coordinates()
countT facetCount() const
double factorEpsilon() const
Factor for angleEpsilon and distanceEpsilon.