18 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 19 #pragma warning( disable : 4611) 29 #define QH_TRY_ERROR 10071 34 qh->NOerrexit= False; \ 35 QH_TRY_status= setjmp(qh->errexit); \ 37 throw QhullError(QH_TRY_ERROR, "Cannot invoke QH_TRY_() from inside a QH_TRY_. Or missing 'qh->NOerrexit=true' after previously called QH_TRY_(qh){...}"); \ 41 #define QH_TRY_NO_THROW_(qh) \ 44 qh->NOerrexit= False; \ 45 QH_TRY_status= setjmp(qh->errexit); \ 47 QH_TRY_status= QH_TRY_ERROR; \ 86 double factorEpsilon() const { return factor_epsilon; } 92 void appendQhullMessage(const std::string &s); 104 double angleEpsilon() const { return this->ANGLEround*factor_epsilon; } 105 void checkAndFreeQhullMemory();
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)
void maybeThrowQhullMessage(int exitCode)
POD type equivalent to qhT. No virtual members.
QhullQh & operator=(const QhullQh &)
void qh_fprintf(FILE *fp, int msgcode, const char *fmt,...)
int qhull_status
qh_ERRnone if valid
std::ostream * error_stream
overrides errorMessage, use appendQhullMessage()
std::ostream * output_stream
send output to stream
void clearQhullMessage()
clearQhullMessage does not throw errors (~Qhull)
bool use_output_stream
True if using output_stream.
std::string qhullMessage() const
qhullMessage does not throw errors (~Qhull)
void setOutputStream(std::ostream *os)
Updates use_output_stream.
QhullQh()
Derived from qh_new_qhull[user.c].
static const double default_factor_epsilon
Default factor_epsilon is 1.0, never updated.
void disableOutputStream()
bool hasOutputStream() const
double factor_epsilon
Factor to increase ANGLEround and DISTround for hyperplane equality.
void setErrorStream(std::ostream *os)
std::string qhull_message
Returned messages from libqhull_r.