Go to the documentation of this file.
27 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4
28 #pragma warning( disable : 4611) // interaction between '_setjmp' and C++ object destruction is non-portable
29 #pragma warning( disable : 4996) // function was declared deprecated(strcpy, localtime, etc.)
37 const char s_not_output_options[]=
" Fd TI A C d E H P Qb QbB Qbb Qc Qf Qg Qi Qm QJ Qr QR Qs Qt Qv Qx Qz Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 R Tc TC TM TP TR Tv TV TW U v V W ";
69 Qhull(
const char *inputComment2,
int pointDimension,
int pointCount,
const realT *pointCoordinates,
const char *qhullCommand2)
76 runQhull(inputComment2, pointDimension, pointCount, pointCoordinates, qhullCommand2);
87 char *s=
static_cast<char *
>(p);
88 char *s2=
static_cast<char *
>(p2);
90 throw QhullError(10074,
"Qhull error: QhullQh at a different address than base type QhT (%d bytes). Please report compiler to qhull.org",
int(s2-s));
99 cerr<<
"\nQhull output at end\n";
113 throw QhullError(10023,
"Qhull error: checkIfQhullInitialized failed. Call runQhull() first.");
227 char *command=
const_cast<char*
>(cmd.c_str());
266 runQhull(
const char *inputComment2,
int pointDimension,
int pointCount,
const realT *pointCoordinates,
const char *qhullCommand2)
269 throw QhullError(10027,
"Qhull error: runQhull called twice. Only one call allowed.");
274 char *command=
const_cast<char*
>(s.c_str());
293 pointT *newPoints=
const_cast<pointT*
>(pointCoordinates);
294 int newDimension= pointDimension;
295 int newIsMalloc=
False;
302 qh_init_B(
qh_qh, newPoints, pointCount, newDimension, newIsMalloc);
329 qh_fprintf(
qh_qh,
qh_qh->
ferr, 6209,
"qhull error: missing feasible point for halfspace intersection. Use option 'Hn,n' or Qhull::setFeasiblePoint before runQhull()\n");
coordT * coordinates() const
void setDimension(int pointDimension)
QhullVertex endVertex() const
#define FORALLfacet_(facetlist)
QhullPointSet otherPoints() const
QhullPoint inputOrigin()
Return origin point for qh.input_dim.
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
QhullLinkedList< QhullVertex > QhullVertexList
void runQhull(const RboxPoints &rboxPoints, const char *qhullCommand2)
For qhull commands, see http://www.qhull.org/html/qhull.htm or html/qhull.htm.
const char s_unsupported_options[]
void qh_check_output(void)
void qh_initqhull_outputflags(void)
void qh_checkflags(char *command, char *hiddenflags)
QhullFacet endFacet() const
Coordinates origin_point
qhT for this instance
void * qh_malloc(size_t size)
void qh_clear_outputflags(void)
std::string comment() const
QhullVertexList vertexList() const
Return vertices of the convex hull.
void qh_check_points(void)
bool run_called
origin for qh_qh->hull_dim. Set by runQhull()
void append(int pointDimension, coordT *c)
Interface to Qhull from C++.
void clearQhullMessage()
clearQhullMessage does not throw errors (~Qhull)
void checkIfQhullInitialized()
QhullVertex beginVertex() const
void qh_errexit(int exitcode, facetT *facet, ridgeT *ridge)
POD type equivalent to qhT. No virtual members.
void qh_setfeasible(int dim)
void defineVertexNeighborFacets()
Automatically called if merging facets or Voronoi diagram.
coordT * qh_sethalfspace_all(int dim, int count, coordT *halfspaces, pointT *feasible)
QhullFacet beginFacet() const
Qhull()
call runQhull() next
QhullFacetList facetList() const
QhullPoints points() const
void qh_prepare_output(void)
Coordinates feasiblePoint() const
void qh_getarea(facetT *facetlist)
void qh_produce_output2(void)
std::string qhullMessage() const
qhullMessage does not throw errors (~Qhull)
void qh_initflags(char *command)
bool hasQhullMessage() const
hasQhullMessage does not throw errors (~Qhull)
const char s_not_output_options[]
void initializeFeasiblePoint(int hulldim)
void qh_fprintf(FILE *fp, int msgcode, const char *fmt,...)
Coordinates feasible_point
True at start of runQhull. Errors if call again.
void qh_init_B(coordT *points, int numpoints, int dim, boolT ismalloc)
void maybeThrowQhullMessage(int exitCode)
QhullPoint origin()
non-const due to QhullPoint
void qh_vertexneighbors(void)
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14