A QhullFacet is the C++ equivalent to Qhull's facetT*. More...
#include <QhullFacet.h>
Classes | |
struct | PrintCenter |
struct | PrintFacet |
struct | PrintFlags |
struct | PrintHeader |
struct | PrintRidges |
Public Member Functions | |
QhullPointSet | coplanarPoints () const |
int | dimension () const |
double | distance (const Coordinates &c) const |
Undefined if c.size() != dimension() | |
double | distance (const pointT *p) const |
double | distance (const QhullPoint &p) const |
double | facetArea (int qhRunId) |
Disables tricoplanarOwner() | |
facetT * | getBaseT () const |
QhullPoint | getCenter (int qhRunId) |
QhullPoint | getCenter (int qhRunId, qh_PRINT printFormat) |
facetT * | getFacetT () const |
QhullHyperplane | hyperplane () const |
int | id () const |
QhullHyperplane | innerplane (int qhRunId) const |
bool | isDefined () const |
bool | isGood () const |
bool | isSimplicial () const |
bool | isTopOrient () const |
bool | isTriCoplanar () const |
bool | isUpperDelaunay () const |
QhullFacetSet | neighborFacets () const |
QhullFacet | next () const |
bool | operator!= (const QhullFacet &o) const |
QhullFacet & | operator= (const QhullFacet &o) |
bool | operator== (const QhullFacet &o) const |
QhullHyperplane | outerplane (int qhRunId) const |
QhullPointSet | outsidePoints () const |
QhullFacet | previous () const |
PrintFacet | print (int qhRunId) |
PrintCenter | printCenter (int qhRunId, qh_PRINT printFormat, const char *message) |
PrintFlags | printFlags (const char *message) const |
PrintHeader | printHeader (int qhRunId) |
PrintRidges | printRidges (int qhRunId) |
QhullFacet () | |
QhullFacet (const QhullFacet &o) | |
QhullFacet (facetT *f) | |
QhullRidgeSet | ridges () const |
QhullFacet | tricoplanarOwner () const |
QhullVertexSet | vertices () const |
QhullPoint | voronoiVertex (int qhRunId) |
~QhullFacet () | |
Private Attributes | |
facetT * | qh_facet |
Static Private Attributes | |
static facetT | s_empty_facet |
May be 0 (!isDefined) for corner cases (e.g., *facetSet.end()==0) and tricoplanarOwner() |
A QhullFacet is the C++ equivalent to Qhull's facetT*.
Definition at line 39 of file QhullFacet.h.
orgQhull::QhullFacet::QhullFacet | ( | ) | [inline] |
Definition at line 52 of file QhullFacet.h.
orgQhull::QhullFacet::QhullFacet | ( | const QhullFacet & | o | ) | [inline] |
Definition at line 54 of file QhullFacet.h.
orgQhull::QhullFacet::~QhullFacet | ( | ) | [inline] |
Definition at line 57 of file QhullFacet.h.
orgQhull::QhullFacet::QhullFacet | ( | facetT * | f | ) | [inline] |
Definition at line 61 of file QhullFacet.h.
Definition at line 171 of file QhullFacet.cpp.
int orgQhull::QhullFacet::dimension | ( | ) | const |
Definition at line 48 of file QhullFacet.cpp.
double orgQhull::QhullFacet::distance | ( | const Coordinates & | c | ) | const [inline] |
Undefined if c.size() != dimension()
Definition at line 91 of file QhullFacet.h.
double orgQhull::QhullFacet::distance | ( | const pointT * | p | ) | const [inline] |
Definition at line 92 of file QhullFacet.h.
double orgQhull::QhullFacet::distance | ( | const QhullPoint & | p | ) | const [inline] |
Definition at line 93 of file QhullFacet.h.
double orgQhull::QhullFacet::facetArea | ( | int | qhRunId | ) |
Disables tricoplanarOwner()
Definition at line 154 of file QhullFacet.cpp.
facetT* orgQhull::QhullFacet::getBaseT | ( | ) | const [inline] |
Definition at line 66 of file QhullFacet.h.
QhullPoint orgQhull::QhullFacet::getCenter | ( | int | qhRunId | ) | [inline] |
Definition at line 70 of file QhullFacet.h.
QhullPoint orgQhull::QhullFacet::getCenter | ( | int | qhRunId, |
qh_PRINT | printFormat | ||
) |
Return voronoi center or facet centrum. Derived from qh_printcenter [io.c] printFormat=qh_PRINTtriangles if return centrum of a Delaunay facet Sets center if needed Code duplicated for PrintCenter and getCenter .empty() if none or qh_INFINITE
Definition at line 65 of file QhullFacet.cpp.
facetT* orgQhull::QhullFacet::getFacetT | ( | ) | const [inline] |
Definition at line 63 of file QhullFacet.h.
QhullHyperplane orgQhull::QhullFacet::hyperplane | ( | ) | const [inline] |
Definition at line 72 of file QhullFacet.h.
int orgQhull::QhullFacet::id | ( | ) | const [inline] |
Definition at line 73 of file QhullFacet.h.
QhullHyperplane orgQhull::QhullFacet::innerplane | ( | int | qhRunId | ) | const |
Return innerplane clearly below the vertices from io.c[qh_PRINTinner]
Definition at line 100 of file QhullFacet.cpp.
bool orgQhull::QhullFacet::isDefined | ( | ) | const [inline] |
Definition at line 75 of file QhullFacet.h.
bool orgQhull::QhullFacet::isGood | ( | ) | const [inline] |
Definition at line 76 of file QhullFacet.h.
bool orgQhull::QhullFacet::isSimplicial | ( | ) | const [inline] |
Definition at line 77 of file QhullFacet.h.
bool orgQhull::QhullFacet::isTopOrient | ( | ) | const [inline] |
Definition at line 78 of file QhullFacet.h.
bool orgQhull::QhullFacet::isTriCoplanar | ( | ) | const [inline] |
Definition at line 79 of file QhullFacet.h.
bool orgQhull::QhullFacet::isUpperDelaunay | ( | ) | const [inline] |
Definition at line 80 of file QhullFacet.h.
Definition at line 177 of file QhullFacet.cpp.
QhullFacet orgQhull::QhullFacet::next | ( | ) | const [inline] |
Definition at line 81 of file QhullFacet.h.
bool orgQhull::QhullFacet::operator!= | ( | const QhullFacet & | o | ) | const [inline] |
Definition at line 83 of file QhullFacet.h.
QhullFacet& orgQhull::QhullFacet::operator= | ( | const QhullFacet & | o | ) | [inline] |
Definition at line 56 of file QhullFacet.h.
bool orgQhull::QhullFacet::operator== | ( | const QhullFacet & | o | ) | const [inline] |
Definition at line 82 of file QhullFacet.h.
QhullHyperplane orgQhull::QhullFacet::outerplane | ( | int | qhRunId | ) | const |
Return outerplane clearly above all points from io.c[qh_PRINTouter]
Definition at line 113 of file QhullFacet.cpp.
Definition at line 183 of file QhullFacet.cpp.
QhullFacet orgQhull::QhullFacet::previous | ( | ) | const [inline] |
Definition at line 85 of file QhullFacet.h.
PrintFacet orgQhull::QhullFacet::print | ( | int | qhRunId | ) | [inline] |
Definition at line 119 of file QhullFacet.h.
PrintCenter orgQhull::QhullFacet::printCenter | ( | int | qhRunId, |
qh_PRINT | printFormat, | ||
const char * | message | ||
) | [inline] |
Definition at line 112 of file QhullFacet.h.
PrintFlags orgQhull::QhullFacet::printFlags | ( | const char * | message | ) | const [inline] |
Definition at line 126 of file QhullFacet.h.
PrintHeader orgQhull::QhullFacet::printHeader | ( | int | qhRunId | ) | [inline] |
Definition at line 133 of file QhullFacet.h.
PrintRidges orgQhull::QhullFacet::printRidges | ( | int | qhRunId | ) | [inline] |
Definition at line 140 of file QhullFacet.h.
QhullRidgeSet orgQhull::QhullFacet::ridges | ( | ) | const |
Definition at line 189 of file QhullFacet.cpp.
Set by qh_triangulate for option 'Qt'. Errors if tricoplanar and facetArea() or qh_getarea() called first.
Definition at line 126 of file QhullFacet.cpp.
QhullVertexSet orgQhull::QhullFacet::vertices | ( | ) | const |
Definition at line 195 of file QhullFacet.cpp.
QhullPoint orgQhull::QhullFacet::voronoiVertex | ( | int | qhRunId | ) |
Definition at line 138 of file QhullFacet.cpp.
facetT* orgQhull::QhullFacet::qh_facet [private] |
Definition at line 43 of file QhullFacet.h.
facetT orgQhull::QhullFacet::s_empty_facet [static, private] |
May be 0 (!isDefined) for corner cases (e.g., *facetSet.end()==0) and tricoplanarOwner()
Definition at line 46 of file QhullFacet.h.