#include <QhullFacetSet.h>
Classes | |
struct | PrintFacetSet |
struct | PrintIdentifiers |
Public Types | |
Defined here | |
typedef facetT * | base_type |
Public Types inherited from orgQhull::QhullSet< QhullFacet > | |
typedef QhullSet< QhullFacet >::iterator | Iterator |
typedef QhullSet< QhullFacet >::const_iterator | ConstIterator |
Public Member Functions | |
Conversion | |
std::vector< QhullFacet > | toStdVector () const |
GetSet | |
countT | count () const |
Filtered by facet.isGood(). May be 0 when !isEmpty(). More... | |
bool | contains (const QhullFacet &f) const |
countT | count (const QhullFacet &f) const |
bool | isSelectAll () const |
void | selectAll () |
operator==() does not depend on isGood() More... | |
void | selectGood () |
IO | |
const PrintFacetSet | print (const char *message) const |
PrintIdentifiers | printIdentifiers (const char *message) const |
Public Member Functions inherited from orgQhull::QhullSet< QhullFacet > | |
std::vector< QhullFacet > | toStdVector () const |
bool | operator== (const QhullSet< QhullFacet > &other) const |
bool | operator!= (const QhullSet< QhullFacet > &other) const |
const QhullFacet | at (countT idx) const |
const QhullFacet | back () const |
QhullFacet | back () |
const QhullFacet ::base_type * | constData () const |
end element is NULL More... | |
QhullFacet ::base_type * | data () |
const QhullFacet ::base_type * | data () const |
QhullFacet ::base_type * | endData () |
const QhullFacet ::base_type * | endData () const |
const QhullFacet | first () const |
QhullFacet | first () |
const QhullFacet | front () const |
QhullFacet | front () |
const QhullFacet | last () const |
QhullFacet | last () |
const QhullFacet | operator[] (countT idx) const |
QhullFacet | operator[] (countT idx) |
const QhullFacet | second () const |
QhullFacet | second () |
QhullFacet | value (countT idx) const |
QhullFacet | value (countT idx, const QhullFacet &defaultValue) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
iterator | end () |
const_iterator | end () const |
bool | contains (const QhullFacet &t) const |
countT | count (const QhullFacet &t) const |
countT | indexOf (const QhullFacet &t) const |
countT | lastIndexOf (const QhullFacet &t) const |
QhullSet (const Qhull &q, setT *s) | |
QhullSet (QhullQh *qqh, setT *s) | |
QhullSet (const QhullSet< QhullFacet > &other) | |
QhullSet< QhullFacet > & | operator= (const QhullSet< QhullFacet > &other) |
~QhullSet () | |
Public Member Functions inherited from orgQhull::QhullSetBase | |
countT | count () const |
void | defineAs (setT *s) |
Not type-safe since setT may contain any type. More... | |
void | forceEmpty () |
setT * | getSetT () const |
bool | isEmpty () const |
QhullQh * | qh () const |
setT ** | referenceSetT () |
size_t | size () const |
QhullSetBase (const Qhull &q, setT *s) | |
QhullSetBase (QhullQh *qqh, setT *s) | |
QhullSetBase (const QhullSetBase &other) | |
Copy constructor copies the pointer but not the set. Needed for return by value and parameter passing. More... | |
QhullSetBase & | operator= (const QhullSetBase &other) |
~QhullSetBase () | |
Private Attributes | |
Fields | |
bool | select_all |
Constructor | |
QhullFacetSet (const Qhull &q, setT *s) | |
QhullFacetSet (QhullQh *qqh, setT *s) | |
QhullFacetSet (const QhullFacetSet &other) | |
Copy constructor copies pointers but not contents. Needed for return by value and parameter passing. More... | |
QhullFacetSet & | operator= (const QhullFacetSet &other) |
Assignment copies pointers but not contents. More... | |
QhullFacetSet () | |
Disable default constructor. See QhullSetBase. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from orgQhull::QhullSetBase | |
static countT | count (const setT *set) |
static bool | isEmpty (const setT *s) |
Protected Member Functions inherited from orgQhull::QhullSetBase | |
void ** | beginPointer () const |
void ** | elementPointer (countT idx) const |
void ** | endPointer () const |
Always points to 0. More... | |
Definition at line 27 of file QhullFacetSet.h.
typedef facetT* orgQhull::QhullFacetSet::base_type |
Definition at line 31 of file QhullFacetSet.h.
Definition at line 40 of file QhullFacetSet.h.
Definition at line 41 of file QhullFacetSet.h.
|
inline |
Copy constructor copies pointers but not contents. Needed for return by value and parameter passing.
Definition at line 43 of file QhullFacetSet.h.
|
private |
Disable default constructor. See QhullSetBase.
bool orgQhull::QhullFacetSet::contains | ( | const QhullFacet & | f | ) | const |
Definition at line 52 of file QhullFacetSet.cpp.
int orgQhull::QhullFacetSet::count | ( | ) | const |
Filtered by facet.isGood(). May be 0 when !isEmpty().
Definition at line 67 of file QhullFacetSet.cpp.
int orgQhull::QhullFacetSet::count | ( | const QhullFacet & | f | ) | const |
Definition at line 83 of file QhullFacetSet.cpp.
|
inline |
Definition at line 65 of file QhullFacetSet.h.
|
inline |
Assignment copies pointers but not contents.
Definition at line 45 of file QhullFacetSet.h.
|
inline |
Definition at line 78 of file QhullFacetSet.h.
|
inline |
Definition at line 85 of file QhullFacetSet.h.
|
inline |
operator==() does not depend on isGood()
Definition at line 67 of file QhullFacetSet.h.
|
inline |
Definition at line 68 of file QhullFacetSet.h.
std::vector< QhullFacet > orgQhull::QhullFacetSet::toStdVector | ( | ) | const |
Definition at line 35 of file QhullFacetSet.cpp.
|
private |
Definition at line 35 of file QhullFacetSet.h.