Classes | List of all members
orgQhull::QhullFacet Class Reference

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 Types

Defined here
typedef facetTbase_type
 

Public Member Functions

Constructors
 QhullFacet ()
 
 QhullFacet (const Qhull &q)
 
 QhullFacet (const Qhull &q, facetT *f)
 
 QhullFacet (QhullQh *qqh)
 
 QhullFacet (QhullQh *qqh, facetT *f)
 
 QhullFacet (const QhullFacet &other)
 
QhullFacetoperator= (const QhullFacet &other)
 
 ~QhullFacet ()
 
GetSet
int dimension () const
 
QhullPoint getCenter ()
 
QhullPoint getCenter (qh_PRINT printFormat)
 
facetTgetBaseT () const
 For QhullSet<QhullFacet> More...
 
facetTgetFacetT () const
 
QhullHyperplane hyperplane () const
 
countT id () const
 
QhullHyperplane innerplane () const
 
bool isValid () const
 
bool isGood () const
 
bool isSimplicial () const
 
bool isTopOrient () const
 
bool isTriCoplanar () const
 
bool isUpperDelaunay () const
 
QhullFacet next () const
 
bool operator== (const QhullFacet &other) const
 
bool operator!= (const QhullFacet &other) const
 
QhullHyperplane outerplane () const
 
QhullFacet previous () const
 
QhullQhqh () const
 
QhullFacet tricoplanarOwner () const
 
QhullPoint voronoiVertex ()
 
value
double distance (const Coordinates &c) const
 Undefined if c.size() != dimension() More...
 
double distance (const pointT *p) const
 
double distance (const QhullPoint &p) const
 
double facetArea ()
 Disables tricoplanarOwner() More...
 
foreach
QhullPointSet coplanarPoints () const
 
QhullFacetSet neighborFacets () const
 
QhullPointSet outsidePoints () const
 
QhullRidgeSet ridges () const
 
QhullVertexSet vertices () const
 
IO
PrintCenter printCenter (qh_PRINT printFormat, const char *message)
 
PrintFacet print (const char *message)
 
PrintFlags printFlags (const char *message) const
 
PrintHeader printHeader ()
 
PrintRidges printRidges ()
 

Private Attributes

Fields -- no additions (QhullFacetSet of facetT*)
facetTqh_facet
 Corresponding facetT, may be 0 for corner cases (e.g., *facetSet.end()==0) and tricoplanarOwner() More...
 
QhullQhqh_qh
 QhullQh/qhT for facetT, may be 0. More...
 

Static Private Attributes

Class objects
static facetT s_empty_facet
 

Detailed Description

A QhullFacet is the C++ equivalent to Qhull's facetT*.

Definition at line 37 of file QhullFacet.h.

Member Typedef Documentation

◆ base_type

Definition at line 41 of file QhullFacet.h.

Constructor & Destructor Documentation

◆ QhullFacet() [1/6]

orgQhull::QhullFacet::QhullFacet ( )
inline

Definition at line 53 of file QhullFacet.h.

◆ QhullFacet() [2/6]

orgQhull::QhullFacet::QhullFacet ( const Qhull q)
explicit

Definition at line 48 of file QhullFacet.cpp.

◆ QhullFacet() [3/6]

orgQhull::QhullFacet::QhullFacet ( const Qhull q,
facetT f 
)

Definition at line 55 of file QhullFacet.cpp.

◆ QhullFacet() [4/6]

orgQhull::QhullFacet::QhullFacet ( QhullQh qqh)
inlineexplicit

Definition at line 56 of file QhullFacet.h.

◆ QhullFacet() [5/6]

orgQhull::QhullFacet::QhullFacet ( QhullQh qqh,
facetT f 
)
inline

Definition at line 57 of file QhullFacet.h.

◆ QhullFacet() [6/6]

orgQhull::QhullFacet::QhullFacet ( const QhullFacet other)
inline

Definition at line 59 of file QhullFacet.h.

◆ ~QhullFacet()

orgQhull::QhullFacet::~QhullFacet ( )
inline

Definition at line 62 of file QhullFacet.h.

Member Function Documentation

◆ coplanarPoints()

QhullPointSet orgQhull::QhullFacet::coplanarPoints ( ) const

Definition at line 174 of file QhullFacet.cpp.

◆ dimension()

int orgQhull::QhullFacet::dimension ( ) const
inline

Definition at line 66 of file QhullFacet.h.

◆ distance() [1/3]

double orgQhull::QhullFacet::distance ( const Coordinates c) const
inline

Undefined if c.size() != dimension()

Definition at line 92 of file QhullFacet.h.

◆ distance() [2/3]

double orgQhull::QhullFacet::distance ( const pointT p) const
inline

Definition at line 93 of file QhullFacet.h.

◆ distance() [3/3]

double orgQhull::QhullFacet::distance ( const QhullPoint p) const
inline

Definition at line 94 of file QhullFacet.h.

◆ facetArea()

double orgQhull::QhullFacet::facetArea ( )

Disables tricoplanarOwner()

Definition at line 158 of file QhullFacet.cpp.

◆ getBaseT()

facetT* orgQhull::QhullFacet::getBaseT ( ) const
inline

For QhullSet<QhullFacet>

Definition at line 69 of file QhullFacet.h.

◆ getCenter() [1/2]

QhullPoint orgQhull::QhullFacet::getCenter ( )
inline

Definition at line 67 of file QhullFacet.h.

◆ getCenter() [2/2]

QhullPoint orgQhull::QhullFacet::getCenter ( qh_PRINT  printFormat)

Return voronoi center or facet centrum. Derived from qh_printcenter [io_r.c] if printFormat=qh_PRINTtriangles and qh.DELAUNAY, returns centrum of a Delaunay facet Sets center if needed Code duplicated for PrintCenter and getCenter Returns QhullPoint() if none or qh_INFINITE

Definition at line 69 of file QhullFacet.cpp.

◆ getFacetT()

facetT* orgQhull::QhullFacet::getFacetT ( ) const
inline

Definition at line 71 of file QhullFacet.h.

◆ hyperplane()

QhullHyperplane orgQhull::QhullFacet::hyperplane ( ) const
inline

Definition at line 72 of file QhullFacet.h.

◆ id()

countT orgQhull::QhullFacet::id ( ) const
inline

Definition at line 73 of file QhullFacet.h.

◆ innerplane()

QhullHyperplane orgQhull::QhullFacet::innerplane ( ) const

Return innerplane clearly below the vertices from io_r.c[qh_PRINTinner]

Definition at line 104 of file QhullFacet.cpp.

◆ isGood()

bool orgQhull::QhullFacet::isGood ( ) const
inline

Definition at line 76 of file QhullFacet.h.

◆ isSimplicial()

bool orgQhull::QhullFacet::isSimplicial ( ) const
inline

Definition at line 77 of file QhullFacet.h.

◆ isTopOrient()

bool orgQhull::QhullFacet::isTopOrient ( ) const
inline

Definition at line 78 of file QhullFacet.h.

◆ isTriCoplanar()

bool orgQhull::QhullFacet::isTriCoplanar ( ) const
inline

Definition at line 79 of file QhullFacet.h.

◆ isUpperDelaunay()

bool orgQhull::QhullFacet::isUpperDelaunay ( ) const
inline

Definition at line 80 of file QhullFacet.h.

◆ isValid()

bool orgQhull::QhullFacet::isValid ( ) const
inline

Definition at line 75 of file QhullFacet.h.

◆ neighborFacets()

QhullFacetSet orgQhull::QhullFacet::neighborFacets ( ) const

Definition at line 180 of file QhullFacet.cpp.

◆ next()

QhullFacet orgQhull::QhullFacet::next ( ) const
inline

Definition at line 81 of file QhullFacet.h.

◆ operator!=()

bool orgQhull::QhullFacet::operator!= ( const QhullFacet other) const
inline

Definition at line 83 of file QhullFacet.h.

◆ operator=()

QhullFacet& orgQhull::QhullFacet::operator= ( const QhullFacet other)
inline

Definition at line 61 of file QhullFacet.h.

◆ operator==()

bool orgQhull::QhullFacet::operator== ( const QhullFacet other) const
inline

Definition at line 82 of file QhullFacet.h.

◆ outerplane()

QhullHyperplane orgQhull::QhullFacet::outerplane ( ) const

Return outerplane clearly above all points from io_r.c[qh_PRINTouter]

Definition at line 119 of file QhullFacet.cpp.

◆ outsidePoints()

QhullPointSet orgQhull::QhullFacet::outsidePoints ( ) const

Definition at line 186 of file QhullFacet.cpp.

◆ previous()

QhullFacet orgQhull::QhullFacet::previous ( ) const
inline

Definition at line 85 of file QhullFacet.h.

◆ print()

PrintFacet orgQhull::QhullFacet::print ( const char *  message)
inline

Definition at line 119 of file QhullFacet.h.

◆ printCenter()

PrintCenter orgQhull::QhullFacet::printCenter ( qh_PRINT  printFormat,
const char *  message 
)
inline

Definition at line 112 of file QhullFacet.h.

◆ printFlags()

PrintFlags orgQhull::QhullFacet::printFlags ( const char *  message) const
inline

Definition at line 126 of file QhullFacet.h.

◆ printHeader()

PrintHeader orgQhull::QhullFacet::printHeader ( )
inline

Definition at line 132 of file QhullFacet.h.

◆ printRidges()

PrintRidges orgQhull::QhullFacet::printRidges ( )
inline

Definition at line 138 of file QhullFacet.h.

◆ qh()

QhullQh* orgQhull::QhullFacet::qh ( ) const
inline

Definition at line 86 of file QhullFacet.h.

◆ ridges()

QhullRidgeSet orgQhull::QhullFacet::ridges ( ) const

Definition at line 192 of file QhullFacet.cpp.

◆ tricoplanarOwner()

QhullFacet orgQhull::QhullFacet::tricoplanarOwner ( ) const

Set by qh_triangulate for option 'Qt'. Errors if tricoplanar and facetArea() or qh_getarea() called first.

Definition at line 134 of file QhullFacet.cpp.

◆ vertices()

QhullVertexSet orgQhull::QhullFacet::vertices ( ) const

Definition at line 198 of file QhullFacet.cpp.

◆ voronoiVertex()

QhullPoint orgQhull::QhullFacet::voronoiVertex ( )

Definition at line 146 of file QhullFacet.cpp.

Member Data Documentation

◆ qh_facet

facetT* orgQhull::QhullFacet::qh_facet
private

Corresponding facetT, may be 0 for corner cases (e.g., *facetSet.end()==0) and tricoplanarOwner()

Definition at line 45 of file QhullFacet.h.

◆ qh_qh

QhullQh* orgQhull::QhullFacet::qh_qh
private

QhullQh/qhT for facetT, may be 0.

Definition at line 46 of file QhullFacet.h.

◆ s_empty_facet

facetT orgQhull::QhullFacet::s_empty_facet
staticprivate
Initial value:
= {0,0,0,0,{0},
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0}

Definition at line 49 of file QhullFacet.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03