Interface to Qhull from C++.
More...
#include <Qhull.h>
Interface to Qhull from C++.
Definition at line 43 of file Qhull.h.
◆ Qhull() [1/4]
orgQhull::Qhull::Qhull |
( |
| ) |
|
◆ Qhull() [2/4]
orgQhull::Qhull::Qhull |
( |
const RboxPoints & |
rboxPoints, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ Qhull() [3/4]
orgQhull::Qhull::Qhull |
( |
const char * |
inputComment2, |
|
|
int |
pointDimension, |
|
|
int |
pointCount, |
|
|
const realT * |
pointCoordinates, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ ~Qhull()
orgQhull::Qhull::~Qhull |
( |
| ) |
|
throw | ( | |
| ) | | |
◆ Qhull() [4/4]
orgQhull::Qhull::Qhull |
( |
const Qhull & |
| ) |
|
|
private |
Disable copy constructor and assignment. Qhull owns QhullQh.
◆ allocateQhullQh()
void orgQhull::Qhull::allocateQhullQh |
( |
| ) |
|
|
private |
◆ angleEpsilon()
double orgQhull::Qhull::angleEpsilon |
( |
| ) |
const |
|
inline |
Epsilon for hyperplane angle equality.
Definition at line 89 of file Qhull.h.
◆ appendQhullMessage()
void orgQhull::Qhull::appendQhullMessage |
( |
const std::string & |
s | ) |
|
|
inline |
◆ area()
double orgQhull::Qhull::area |
( |
| ) |
|
◆ beginFacet()
◆ beginVertex()
◆ checkIfQhullInitialized()
void orgQhull::Qhull::checkIfQhullInitialized |
( |
| ) |
|
◆ clearQhullMessage()
void orgQhull::Qhull::clearQhullMessage |
( |
| ) |
|
|
inline |
◆ defineVertexNeighborFacets()
void orgQhull::Qhull::defineVertexNeighborFacets |
( |
| ) |
|
Automatically called if merging facets or Voronoi diagram.
Define QhullVertex::neighborFacets(). Automatically called if merging facets or computing the Voronoi diagram. Noop if called multiple times.
Definition at line 174 of file Qhull.cpp.
◆ dimension()
int orgQhull::Qhull::dimension |
( |
| ) |
const |
|
inline |
Dimension of input and result.
Definition at line 69 of file Qhull.h.
◆ disableOutputStream()
void orgQhull::Qhull::disableOutputStream |
( |
| ) |
|
|
inline |
◆ distanceEpsilon()
double orgQhull::Qhull::distanceEpsilon |
( |
| ) |
const |
|
inline |
Epsilon for distance to hyperplane.
Definition at line 92 of file Qhull.h.
◆ enableOutputStream()
void orgQhull::Qhull::enableOutputStream |
( |
| ) |
|
|
inline |
◆ endFacet()
◆ endVertex()
◆ facetCount()
countT orgQhull::Qhull::facetCount |
( |
| ) |
const |
|
inline |
◆ facetList()
◆ factorEpsilon()
double orgQhull::Qhull::factorEpsilon |
( |
| ) |
const |
|
inline |
Factor for angleEpsilon and distanceEpsilon.
Definition at line 93 of file Qhull.h.
◆ feasiblePoint()
Return feasiblePoint for halfspace intersection If called before runQhull(), then it returns the value from setFeasiblePoint. qh.feasible_string overrides this value if it is defined.
Definition at line 120 of file Qhull.cpp.
◆ firstFacet()
◆ firstVertex()
◆ hasOutputStream()
bool orgQhull::Qhull::hasOutputStream |
( |
| ) |
const |
|
inline |
◆ hasQhullMessage()
bool orgQhull::Qhull::hasQhullMessage |
( |
| ) |
const |
|
inline |
◆ hullDimension()
int orgQhull::Qhull::hullDimension |
( |
| ) |
const |
|
inline |
Dimension of the computed hull.
Definition at line 74 of file Qhull.h.
◆ initialized()
bool orgQhull::Qhull::initialized |
( |
| ) |
const |
|
inline |
◆ initializeFeasiblePoint()
void orgQhull::Qhull::initializeFeasiblePoint |
( |
int |
hulldim | ) |
|
|
private |
initialize qh.feasible_point for half-space intersection Sets from qh.feasible_string if available, otherwise from Qhull::feasible_point called only once from runQhull(), otherwise it leaks memory (the same as qh_setFeasible)
Definition at line 323 of file Qhull.cpp.
◆ inputComment()
const char* orgQhull::Qhull::inputComment |
( |
| ) |
const |
|
inline |
◆ inputOrigin()
Return origin point for qh.input_dim.
Definition at line 133 of file Qhull.cpp.
◆ operator=()
Qhull& orgQhull::Qhull::operator= |
( |
const Qhull & |
| ) |
|
|
private |
◆ origin()
◆ otherPoints()
◆ outputQhull() [1/2]
void orgQhull::Qhull::outputQhull |
( |
| ) |
|
◆ outputQhull() [2/2]
void orgQhull::Qhull::outputQhull |
( |
const char * |
outputflags | ) |
|
◆ pointCoordinateBegin()
coordT* orgQhull::Qhull::pointCoordinateBegin |
( |
| ) |
const |
|
inline |
◆ pointCoordinateEnd()
coordT* orgQhull::Qhull::pointCoordinateEnd |
( |
| ) |
const |
|
inline |
◆ points()
◆ qh()
QhullQh* orgQhull::Qhull::qh |
( |
| ) |
const |
|
inline |
◆ qhullCommand()
const char* orgQhull::Qhull::qhullCommand |
( |
| ) |
const |
|
inline |
◆ qhullMessage()
std::string orgQhull::Qhull::qhullMessage |
( |
| ) |
const |
|
inline |
◆ qhullStatus()
int orgQhull::Qhull::qhullStatus |
( |
| ) |
const |
|
inline |
◆ rboxCommand()
const char* orgQhull::Qhull::rboxCommand |
( |
| ) |
const |
|
inline |
◆ rotateRandom()
int orgQhull::Qhull::rotateRandom |
( |
| ) |
const |
|
inline |
Return QRn for repeating QR0 runs.
Definition at line 84 of file Qhull.h.
◆ runQhull() [1/2]
void orgQhull::Qhull::runQhull |
( |
const RboxPoints & |
rboxPoints, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ runQhull() [2/2]
void orgQhull::Qhull::runQhull |
( |
const char * |
inputComment2, |
|
|
int |
pointDimension, |
|
|
int |
pointCount, |
|
|
const realT * |
pointCoordinates, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ setErrorStream()
void orgQhull::Qhull::setErrorStream |
( |
std::ostream * |
os | ) |
|
|
inline |
◆ setFactorEpsilon()
void orgQhull::Qhull::setFactorEpsilon |
( |
double |
a | ) |
|
|
inline |
◆ setFeasiblePoint()
void orgQhull::Qhull::setFeasiblePoint |
( |
const Coordinates & |
c | ) |
|
|
inline |
Sets qh.feasible_point via initializeFeasiblePoint.
Definition at line 85 of file Qhull.h.
◆ setOutputStream()
void orgQhull::Qhull::setOutputStream |
( |
std::ostream * |
os | ) |
|
|
inline |
◆ vertexCount()
countT orgQhull::Qhull::vertexCount |
( |
| ) |
const |
|
inline |
◆ vertexList()
Return vertices of the convex hull.
Definition at line 204 of file Qhull.cpp.
◆ volume()
double orgQhull::Qhull::volume |
( |
| ) |
|
◆ feasible_point
True at start of runQhull. Errors if call again.
Definition at line 50 of file Qhull.h.
◆ origin_point
qhT for this instance
Definition at line 48 of file Qhull.h.
◆ qh_qh
◆ run_called
bool orgQhull::Qhull::run_called |
|
private |
The documentation for this class was generated from the following files: