List of all members
orgQhull::QhullQh Class Reference

POD type equivalent to qhT. No virtual members. More...

#include <QhullQh.h>

Inheritance diagram for orgQhull::QhullQh:
Inheritance graph
[legend]

Public Member Functions

GetSet
double factorEpsilon () const
 
void setFactorEpsilon (double a)
 
void disableOutputStream ()
 
void enableOutputStream ()
 
Messaging
void appendQhullMessage (const std::string &s)
 
void clearQhullMessage ()
 clearQhullMessage does not throw errors (~Qhull) More...
 
std::string qhullMessage () const
 qhullMessage does not throw errors (~Qhull) More...
 
bool hasOutputStream () const
 
bool hasQhullMessage () const
 hasQhullMessage does not throw errors (~Qhull) More...
 
void maybeThrowQhullMessage (int exitCode)
 
void maybeThrowQhullMessage (int exitCode, int noThrow) throw ()
 
int qhullStatus () const
 
void setErrorStream (std::ostream *os)
 
void setOutputStream (std::ostream *os)
 Updates use_output_stream. More...
 
Methods
void checkAndFreeQhullMemory ()
 

Fields

int qhull_status
 qh_ERRnone if valid More...
 
std::string qhull_message
 Returned messages from libqhull_r. More...
 
std::ostream * error_stream
 overrides errorMessage, use appendQhullMessage() More...
 
std::ostream * output_stream
 send output to stream More...
 
double factor_epsilon
 Factor to increase ANGLEround and DISTround for hyperplane equality. More...
 
bool use_output_stream
 True if using output_stream. More...
 
static const double default_factor_epsilon = 1.0
 Default factor_epsilon is 1.0, never updated. More...
 
friend void ::qh_fprintf (qhT *qh, FILE *fp, int msgcode, const char *fmt,...)
 

Constructors

 QhullQh (const QhullQh &)
 disable copy constructor and assignment More...
 
QhullQhoperator= (const QhullQh &)
 
 QhullQh ()
 Derived from qh_new_qhull[user.c]. More...
 
 ~QhullQh ()
 

Additional Inherited Members

- Public Attributes inherited from qhT
boolT ALLOWrestart
 
boolT ALLpoints
 
boolT ANGLEmerge
 
realT ANGLEround
 
boolT ANNOTATEoutput
 
boolT APPROXhull
 
realT AREAfactor
 
boolT ATinfinity
 
boolT AVOIDold
 
boolT BESToutside
 
int build_cnt
 
boolT CDDinput
 
boolT CDDoutput
 
int center_size
 
qh_CENTER CENTERtype
 
realT centrum_radius
 
boolT CHECKfrequently
 
setTcoplanarfacetset
 
realT cos_max
 
void * cpp_object
 
setTdegen_mergeset
 
setTdel_vertices
 
boolT DELAUNAY
 
realT DISTround
 
boolT DOcheckmax
 
boolT DOintersections
 
int DROPdim
 
jmp_buf errexit
 
boolT ERREXITcalled
 
unsigned facet_id
 
facetTfacet_list
 
setTfacet_mergeset
 
facetTfacet_next
 
facetTfacet_tail
 
coordTfeasible_point
 
char * feasible_string
 
FILE * ferr
 
FILE * fin
 
boolT findbest_notsharp
 
boolT findbestnew
 
pointTfirst_point
 
boolT firstcentrum
 
boolT FORCEoutput
 
FILE * fout
 
int furthest_id
 
boolT GETarea
 
coordTgm_matrix
 
coordT ** gm_row
 
facetTGOODclosest
 
int GOODpoint
 
pointTGOODpointp
 
boolT GOODthreshold
 
int GOODvertex
 
pointTGOODvertexp
 
coordThalf_space
 
boolT HALFspace
 
boolT hasAreaVolume
 
setThash_table
 
boolT hasTriangulation
 
int hull_dim
 
unsigned long hulltime
 
int input_dim
 
boolT input_malloc
 
pointTinput_points
 
pointTinterior_point
 
boolT ISqhullQh
 
int IStracing
 
char jmpXtra [40]
 
char jmpXtra2 [40]
 
char jmpXtra3 [40]
 
realT JOGGLEmax
 
int KEEParea
 
boolT KEEPcoplanar
 
boolT KEEPinside
 
int KEEPmerge
 
realT KEEPminArea
 
boolT KEEPnearinside
 
realT last_high
 
realT last_low
 
realT last_newhigh
 
int last_random
 
unsigned lastreport
 
char * line
 
realTlower_bound
 
realTlower_threshold
 
realT max_outside
 
realT max_vertex
 
realT MAXabs_coord
 
realT MAXcoplanar
 
realT MAXlastcoord
 
int maxline
 
boolT maxoutdone
 
realT MAXsumcoord
 
realT MAXwidth
 
boolT MERGEexact
 
boolT MERGEindependent
 
int mergereport
 
boolT MERGEvertices
 
boolT MERGING
 
realT min_vertex
 
realT MINdenom
 
realT MINdenom_1
 
realT MINdenom_1_2
 
realT MINdenom_2
 
realT MINlastcoord
 
realT MINoutside
 
realT MINvisible
 
boolT NARROWhull
 
realT NEARinside
 
realTNEARzero
 
facetTnewfacet_list
 
boolT NEWfacets
 
vertexTnewvertex_list
 
boolT NOerrexit
 
boolT NOnarrow
 
boolT NOnearinside
 
boolT NOpremerge
 
int normal_size
 
boolT NOwide
 
int num_facets
 
int num_good
 
int num_outside
 
int num_points
 
int num_vertices
 
int num_visible
 
qhstatTold_qhstat
 
boolT old_randomdist
 
setTold_tempstack
 
realT ONEmerge
 
boolT ONLYgood
 
boolT ONLYmax
 
setTother_points
 
realT outside_err
 
boolT PICKfurthest
 
boolT POINTSmalloc
 
boolT POSTmerge
 
realT postmerge_centrum
 
realT postmerge_cos
 
boolT POSTmerging
 
boolT PREmerge
 
realT premerge_centrum
 
realT premerge_cos
 
boolT PRINTcentrums
 
boolT PRINTcoplanar
 
realT PRINTcradius
 
int PRINTdim
 
boolT PRINTdots
 
boolT PRINTgood
 
boolT PRINTinner
 
boolT PRINTneighbors
 
boolT PRINTnoplanes
 
boolT PRINToptions1st
 
qh_PRINT PRINTout [qh_PRINTEND]
 
boolT PRINTouter
 
int printoutnum
 
int printoutvar
 
boolT PRINTprecision
 
realT PRINTradius
 
boolT PRINTridges
 
boolT PRINTspheres
 
boolT PRINTstatistics
 
boolT PRINTsummary
 
boolT PRINTtransparent
 
boolT PROJECTdelaunay
 
int PROJECTinput
 
qhmemT qhmem
 
qhstatT qhstat
 
char qhull [sizeof("qhull")]
 
char qhull_command [256]
 
int qhull_commandsiz2
 
int qhull_optionlen
 
char qhull_options [512]
 
int qhull_optionsiz
 
int qhull_optionsiz2
 
boolT QHULLfinished
 
boolT QUICKhelp
 
realT RANDOMa
 
realT RANDOMb
 
boolT RANDOMdist
 
realT RANDOMfactor
 
boolT RANDOMoutside
 
char rbox_command [256]
 
jmp_buf rbox_errexit
 
int rbox_isinteger
 
double rbox_out_offset
 
int REPORTfreq
 
int REPORTfreq2
 
int RERUN
 
jmp_buf restartexit
 
unsigned ridge_id
 
int ridgeoutnum
 
int ROTATErandom
 
int run_id
 
boolT SCALEinput
 
boolT SCALElast
 
boolT SETroundoff
 
boolT SKIPcheckmax
 
boolT SKIPconvex
 
boolT SPLITthresholds
 
int STOPcone
 
int STOPpoint
 
coordTtemp_malloc
 
int TEMPsize
 
int TESTpoints
 
boolT TESTvneighbors
 
realT totarea
 
realT totvol
 
realT TRACEdist
 
facetTtracefacet
 
unsigned tracefacet_id
 
int TRACElastrun
 
int TRACElevel
 
int TRACEmerge
 
int TRACEpoint
 
vertexTtracevertex
 
unsigned tracevertex_id
 
boolT TRIangulate
 
boolT TRInormals
 
realTupper_bound
 
realTupper_threshold
 
boolT UPPERdelaunay
 
boolT USEstdout
 
boolT VERIFYoutput
 
unsigned vertex_id
 
vertexTvertex_list
 
vertexTvertex_tail
 
unsigned int vertex_visit
 
boolT VERTEXneighbors
 
boolT VIRTUALmemory
 
facetTvisible_list
 
unsigned int visit_id
 
boolT VORONOI
 
boolT WAScoplanar
 
realT WIDEfacet
 
boolT ZEROall_ok
 
boolT ZEROcentrum
 

Detailed Description

POD type equivalent to qhT. No virtual members.

Definition at line 58 of file QhullQh.h.

Constructor & Destructor Documentation

◆ QhullQh() [1/2]

orgQhull::QhullQh::QhullQh ( )

Derived from qh_new_qhull[user.c].

Definition at line 42 of file QhullQh.cpp.

◆ ~QhullQh()

orgQhull::QhullQh::~QhullQh ( )

Definition at line 58 of file QhullQh.cpp.

◆ QhullQh() [2/2]

orgQhull::QhullQh::QhullQh ( const QhullQh )
private

disable copy constructor and assignment

Member Function Documentation

◆ appendQhullMessage()

void orgQhull::QhullQh::appendQhullMessage ( const std::string &  s)

Definition at line 89 of file QhullQh.cpp.

◆ checkAndFreeQhullMemory()

void orgQhull::QhullQh::checkAndFreeQhullMemory ( )

Check memory for internal consistency Free global memory used by qh_initbuild and qh_buildhull Zero the qhT data structure, except for memory (qhmemT) and statistics (qhstatT) Check and free short memory (e.g., facetT) Zero the qhmemT data structure

Definition at line 71 of file QhullQh.cpp.

◆ clearQhullMessage()

void orgQhull::QhullQh::clearQhullMessage ( )

clearQhullMessage does not throw errors (~Qhull)

Definition at line 102 of file QhullQh.cpp.

◆ disableOutputStream()

void orgQhull::QhullQh::disableOutputStream ( )
inline

Definition at line 88 of file QhullQh.h.

◆ enableOutputStream()

void orgQhull::QhullQh::enableOutputStream ( )
inline

Definition at line 89 of file QhullQh.h.

◆ factorEpsilon()

double orgQhull::QhullQh::factorEpsilon ( ) const
inline

Definition at line 86 of file QhullQh.h.

◆ hasOutputStream()

bool orgQhull::QhullQh::hasOutputStream ( ) const
inline

Definition at line 95 of file QhullQh.h.

◆ hasQhullMessage()

bool orgQhull::QhullQh::hasQhullMessage ( ) const

hasQhullMessage does not throw errors (~Qhull)

Definition at line 111 of file QhullQh.cpp.

◆ maybeThrowQhullMessage() [1/2]

void orgQhull::QhullQh::maybeThrowQhullMessage ( int  exitCode)

Definition at line 118 of file QhullQh.cpp.

◆ maybeThrowQhullMessage() [2/2]

void orgQhull::QhullQh::maybeThrowQhullMessage ( int  exitCode,
int  noThrow 
)
throw (
)

Definition at line 142 of file QhullQh.cpp.

◆ operator=()

QhullQh& orgQhull::QhullQh::operator= ( const QhullQh )
private

◆ qhullMessage()

std::string orgQhull::QhullQh::qhullMessage ( ) const

qhullMessage does not throw errors (~Qhull)

Definition at line 157 of file QhullQh.cpp.

◆ qhullStatus()

int orgQhull::QhullQh::qhullStatus ( ) const

Definition at line 167 of file QhullQh.cpp.

◆ setErrorStream()

void orgQhull::QhullQh::setErrorStream ( std::ostream *  os)

Definition at line 173 of file QhullQh.cpp.

◆ setFactorEpsilon()

void orgQhull::QhullQh::setFactorEpsilon ( double  a)
inline

Definition at line 87 of file QhullQh.h.

◆ setOutputStream()

void orgQhull::QhullQh::setOutputStream ( std::ostream *  os)

Updates use_output_stream.

Definition at line 180 of file QhullQh.cpp.

◆ void ::qh_fprintf()

orgQhull::QhullQh::void ::qh_fprintf ( qhT qh,
FILE *  fp,
int  msgcode,
const char *  fmt,
  ... 
)
private

Member Data Documentation

◆ default_factor_epsilon

const double orgQhull::QhullQh::default_factor_epsilon = 1.0
staticprivate

Default factor_epsilon is 1.0, never updated.

Definition at line 73 of file QhullQh.h.

◆ error_stream

std::ostream* orgQhull::QhullQh::error_stream
private

overrides errorMessage, use appendQhullMessage()

Definition at line 66 of file QhullQh.h.

◆ factor_epsilon

double orgQhull::QhullQh::factor_epsilon
private

Factor to increase ANGLEround and DISTround for hyperplane equality.

Definition at line 68 of file QhullQh.h.

◆ output_stream

std::ostream* orgQhull::QhullQh::output_stream
private

send output to stream

Definition at line 67 of file QhullQh.h.

◆ qhull_message

std::string orgQhull::QhullQh::qhull_message
private

Returned messages from libqhull_r.

Definition at line 65 of file QhullQh.h.

◆ qhull_status

int orgQhull::QhullQh::qhull_status
private

qh_ERRnone if valid

Definition at line 64 of file QhullQh.h.

◆ use_output_stream

bool orgQhull::QhullQh::use_output_stream
private

True if using output_stream.

Definition at line 69 of file QhullQh.h.


The documentation for this class was generated from the following files:


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