Classes | Namespaces | Macros
QhullQh.h File Reference
#include "libqhull_r/qhull_ra.h"
#include <string>
Include dependency graph for QhullQh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  orgQhull::QhullQh
 POD type equivalent to qhT. No virtual members. More...
 

Namespaces

 orgQhull
 QhullRidgeQhull's ridge structure, ridgeT, as a C++ class.
 

Macros

#define QH_TRY_(qh)
 
#define QH_TRY_ERROR   10071
 
#define QH_TRY_NO_THROW_(qh)
 

Macro Definition Documentation

◆ QH_TRY_

#define QH_TRY_ (   qh)
Value:
int QH_TRY_status; \
if(qh->NOerrexit){ \
qh->NOerrexit= False; \
QH_TRY_status= setjmp(qh->errexit); \
}else{ \
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){...}"); \
} \
if(!QH_TRY_status)

Definition at line 31 of file QhullQh.h.

◆ QH_TRY_ERROR

#define QH_TRY_ERROR   10071

Use QH_TRY_ or QH_TRY_NOTHROW_ to call a libqhull_r routine that may invoke qh_errexit() QH_TRY_(qh){...} qh->NOerrexit=true; No object creation – longjmp() skips object destructors To test for error when done – qh->maybeThrowQhullMessage(QH_TRY_status); Use the same compiler for QH_TRY_, libqhullcpp, and libqhull_r. setjmp() is not portable between compilers.

Definition at line 29 of file QhullQh.h.

◆ QH_TRY_NO_THROW_

#define QH_TRY_NO_THROW_ (   qh)
Value:
int QH_TRY_status; \
if(qh->NOerrexit){ \
qh->NOerrexit= False; \
QH_TRY_status= setjmp(qh->errexit); \
}else{ \
QH_TRY_status= QH_TRY_ERROR; \
} \
if(!QH_TRY_status)

Definition at line 41 of file QhullQh.h.

False
#define False
Definition: libqhull.h:128
qh
#define qh
Definition: libqhull.h:457
QH_TRY_ERROR
#define QH_TRY_ERROR
Definition: QhullQh.h:29


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:16