19 using std::ostringstream;
24 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 25 #pragma warning( disable : 4996) // function was declared deprecated(strcpy, localtime, etc.) 92 return "rbox warning: no points generated\n";
119 char *command=
const_cast<char*
>(s.c_str());
121 throw QhullError(10001,
"Qhull error: conflicting user of cpp_object for RboxPoints::appendPoints() or corrupted qh_qh");
140 throw QhullError(10068,
"Qhull error: rbox specified %d points but got %d points for command '%s'",
newCount(),
count()-previousCount, 0.0,
comment().c_str());
176 vsnprintf(newMessage,
sizeof(newMessage), fmt, args);
187 out->
rbox_message +=
"RboxPoints error: options 'h', 'n' not supported.\n";
193 string command(va_arg(args,
char*));
204 *out << va_arg(args,
int);
207 *out << va_arg(args,
int);
210 *out << va_arg(args,
int);
213 *out << va_arg(args,
double);
216 *out << va_arg(args,
double);
219 *out << va_arg(args,
double);
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
POD type equivalent to qhT. No virtual members.
void appendPoints(const char *rboxCommand)
void resetQhullQh(QhullQh *qqh)
void qh_errexit_rbox(int exitcode)
int rbox_status
Number of points for PointCoordinates.
void appendComment(const std::string &s)
countT extraCoordinatesCount() const
coordT * coordinates() const
void setNewCount(countT pointCount)
std::string rbox_message
error status from rboxpoints. qh_ERRnone if none.
std::string rboxMessage() const
std::string comment() const
bool hasRboxMessage() const
int qh_rboxpoints(FILE *fout, FILE *ferr, char *rbox_command)
void qh_fprintf_rbox(qhT *qh, FILE *, int msgcode, const char *fmt,...)