Interface to Qhull from C++.
More...
#include <Qhull.h>
Interface to Qhull from C++.
Definition at line 49 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 |
◆ 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.
◆ disableOutputStream()
void orgQhull::Qhull::disableOutputStream |
( |
| ) |
|
|
inline |
◆ enableOutputStream()
void orgQhull::Qhull::enableOutputStream |
( |
| ) |
|
|
inline |
◆ endFacet()
◆ endVertex()
◆ facetCount()
countT orgQhull::Qhull::facetCount |
( |
| ) |
const |
|
inline |
◆ facetList()
◆ 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 |
◆ 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 |
◆ runQhull() [1/2]
void orgQhull::Qhull::runQhull |
( |
const char * |
inputComment2, |
|
|
int |
pointDimension, |
|
|
int |
pointCount, |
|
|
const realT * |
pointCoordinates, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ runQhull() [2/2]
void orgQhull::Qhull::runQhull |
( |
const RboxPoints & |
rboxPoints, |
|
|
const char * |
qhullCommand2 |
|
) |
| |
◆ setErrorStream()
void orgQhull::Qhull::setErrorStream |
( |
std::ostream * |
os | ) |
|
|
inline |
◆ setFactorEpsilon()
void orgQhull::Qhull::setFactorEpsilon |
( |
double |
a | ) |
|
|
inline |
◆ 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 56 of file Qhull.h.
◆ origin_point
qhT for this instance
Definition at line 54 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: