18 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 19 #pragma warning( disable : 4611) // interaction between '_setjmp' and C++ object destruction is non-portable 20 #pragma warning( disable : 4996) // function was declared deprecated(strcpy, localtime, etc.) 27 s_empty_vertex= {0,0,0,0,0,
34 : qh_vertex(&s_empty_vertex)
53 throw QhullError(10034,
"Qhull error: neighboring facets of vertex %d not defined. Please call Qhull::defineVertexNeighborFacets() beforehand.",
id());
74 operator<<(ostream &os,
const QhullVertex::PrintVertex &pr)
78 if(*pr.print_message){
79 os << pr.print_message <<
" ";
83 os <<
"p" << p.
id() <<
" (v" << v.
id() <<
"): ";
92 os <<
" ridgedeleted";
98 os <<
" neighborFacets:";
101 if(++count % 100 == 0){
105 os <<
" f" << f.
id();
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
vertexT * getVertexT() const
A QhullFacet is the C++ equivalent to Qhull's facetT*.
QhullFacetSet neighborFacets() const
static vertexT s_empty_vertex
QhullSetIterator< QhullFacet > QhullFacetSetIterator
ostream & operator<<(ostream &os, const QhullVertex::PrintVertex &pr)
Duplicate of qh_printvertex [io_r.c].
Interface to Qhull from C++.
vertexT * qh_vertex
Corresponding vertexT, never 0.
bool neighborFacetsDefined() const
True if defineVertexNeighborFacets() already called. Auotomatically set for facet merging...
QhullQh * qh_qh
QhullQh/qhT for vertexT, may be 0.
const coordT * coordinates() const
0 if undefined