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.)
35 const double QhullQh::
36 default_factor_epsilon= 1.0;
47 , factor_epsilon(
QhullQh::default_factor_epsilon)
48 , use_output_stream(false)
81 if (curlong || totlong)
82 throw QhullError(10026,
"Qhull error: qhull did not free %d bytes of long memory (%d pieces).", totlong, curlong);
129 qhull_message.append(
"Cannot call maybeThrowQhullMessage() from QH_TRY_(). Or missing 'qh->NOerrexit=true;' after QH_TRY_(){...}.");
147 qhull_status= exitCode;
160 return "qhull: no message for error. Check cerr or error stream\n";
207 qh_fprintf_stderr(10025,
"Qhull error: qh_fprintf called from a Qhull instance without QhullQh defined\n");
220 vsnprintf(newMessage,
sizeof(newMessage),
fmt,
args);
227 vsnprintf(newMessage,
sizeof(newMessage),
fmt,
args);
234 vsnprintf(newMessage,
sizeof(newMessage),
fmt,
args);
static void clearGlobalLog()
void qh_fprintf_stderr(int msgcode, const char *fmt,...)
void qh_initqhull_start2(FILE *infile, FILE *outfile, FILE *errfile)
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
void appendQhullMessage(const std::string &s)
std::ostream * output_stream
send output to stream
void logErrorLastResort() const
int qhull_status
qh_ERRnone if valid
void qh_initstatistics(void)
void clearQhullMessage()
clearQhullMessage does not throw errors (~Qhull)
std::string qhull_message
Returned messages from libqhull_r.
QhullQh()
Derived from qh_new_qhull[user.c].
void qh_fprintf(qhT *qh, FILE *fp, int msgcode, const char *fmt,...)
std::ostream * error_stream
overrides errorMessage, use appendQhullMessage()
void qh_freeqhull(boolT allmem)
POD type equivalent to qhT. No virtual members.
bool use_output_stream
True if using output_stream.
void qh_exit(int exitcode)
void setErrorStream(std::ostream *os)
void checkAndFreeQhullMemory()
std::string qhullMessage() const
qhullMessage does not throw errors (~Qhull)
void qh_memfreeshort(int *curlong, int *totlong)
void setOutputStream(std::ostream *os)
Updates use_output_stream.
bool hasQhullMessage() const
hasQhullMessage does not throw errors (~Qhull)
void qh_meminit(FILE *ferr)
void maybeThrowQhullMessage(int exitCode)
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:15