#include <QhullPoint.h>
Classes | |
struct | PrintPoint |
Public Types | |
typedef const coordT * | const_iterator |
typedef QhullPoint::const_iterator | ConstIterator |
typedef const coordT * | iterator |
typedef QhullPoint::iterator | Iterator |
Public Member Functions | |
void | advancePoint (int idx) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
const coordT * | coordinates () const |
coordT * | coordinates () |
int | count () |
void | defineAs (int pointDimension, coordT *c) |
void | defineAs (QhullPoint &other) |
Creates an alias to other. | |
int | dimension () const |
double | distance (const QhullPoint &p) const |
Return distance betweeen two points. | |
iterator | end () |
const_iterator | end () const |
int | id (int qhRunId) const |
int | id () const |
bool | isDefined () const |
bool | operator!= (const QhullPoint &other) const |
QhullPoint & | operator= (const QhullPoint &other) |
bool | operator== (const QhullPoint &other) const |
const coordT & | operator[] (int idx) const |
coordT & | operator[] (int idx) |
PrintPoint | print () const |
PrintPoint | print (int qhRunId) const |
PrintPoint | print (int qhRunId, const char *message) const |
PrintPoint | printWithIdentifier (int qhRunId, const char *message) const |
QhullPoint () | |
QhullPoint (int pointDimension, coordT *c) | |
QhullPoint (Coordinates &c) | |
QhullPoint (const QhullPoint &other) | |
void | setCoordinates (coordT *c) |
void | setDimension (int pointDimension) |
size_t | size () |
std::vector< coordT > | toStdVector () const |
~QhullPoint () | |
Static Public Member Functions | |
static int | id (const coordT *c) |
static int | id (int qhRunId, const coordT *c) |
static int | id (int qhRunId, int dimension, const coordT *c) |
If qhRundID undefined uses QhullPoint::s_points_begin and dimension. | |
Private Attributes | |
coordT * | point_coordinates |
A point is a pointer into an array of coordinates. | |
int | point_dimension |
Definition at line 30 of file QhullPoint.h.
typedef const coordT* orgQhull::QhullPoint::const_iterator |
Definition at line 42 of file QhullPoint.h.
Definition at line 44 of file QhullPoint.h.
typedef const coordT* orgQhull::QhullPoint::iterator |
Definition at line 41 of file QhullPoint.h.
Definition at line 43 of file QhullPoint.h.
orgQhull::QhullPoint::QhullPoint | ( | ) | [inline] |
Definition at line 52 of file QhullPoint.h.
orgQhull::QhullPoint::QhullPoint | ( | int | pointDimension, |
coordT * | c | ||
) | [inline] |
Definition at line 53 of file QhullPoint.h.
orgQhull::QhullPoint::QhullPoint | ( | Coordinates & | c | ) | [inline, explicit] |
Definition at line 54 of file QhullPoint.h.
orgQhull::QhullPoint::QhullPoint | ( | const QhullPoint & | other | ) | [inline] |
Definition at line 56 of file QhullPoint.h.
orgQhull::QhullPoint::~QhullPoint | ( | ) | [inline] |
Definition at line 59 of file QhullPoint.h.
void orgQhull::QhullPoint::advancePoint | ( | int | idx | ) | [inline] |
Definition at line 80 of file QhullPoint.h.
iterator orgQhull::QhullPoint::begin | ( | ) | [inline] |
Definition at line 91 of file QhullPoint.h.
const_iterator orgQhull::QhullPoint::begin | ( | ) | const [inline] |
Definition at line 92 of file QhullPoint.h.
const_iterator orgQhull::QhullPoint::constBegin | ( | ) | const [inline] |
Definition at line 93 of file QhullPoint.h.
const_iterator orgQhull::QhullPoint::constEnd | ( | ) | const [inline] |
Definition at line 94 of file QhullPoint.h.
const coordT* orgQhull::QhullPoint::coordinates | ( | ) | const [inline] |
Definition at line 72 of file QhullPoint.h.
coordT* orgQhull::QhullPoint::coordinates | ( | ) | [inline] |
Definition at line 73 of file QhullPoint.h.
int orgQhull::QhullPoint::count | ( | ) | [inline] |
Definition at line 95 of file QhullPoint.h.
void orgQhull::QhullPoint::defineAs | ( | int | pointDimension, |
coordT * | c | ||
) | [inline] |
Definition at line 81 of file QhullPoint.h.
void orgQhull::QhullPoint::defineAs | ( | QhullPoint & | other | ) | [inline] |
Creates an alias to other.
Definition at line 83 of file QhullPoint.h.
int orgQhull::QhullPoint::dimension | ( | ) | const [inline] |
Definition at line 74 of file QhullPoint.h.
double orgQhull::QhullPoint::distance | ( | const QhullPoint & | p | ) | const |
Return distance betweeen two points.
Definition at line 92 of file QhullPoint.cpp.
iterator orgQhull::QhullPoint::end | ( | ) | [inline] |
Definition at line 96 of file QhullPoint.h.
const_iterator orgQhull::QhullPoint::end | ( | ) | const [inline] |
Definition at line 97 of file QhullPoint.h.
static int orgQhull::QhullPoint::id | ( | const coordT * | c | ) | [inline, static] |
Definition at line 47 of file QhullPoint.h.
static int orgQhull::QhullPoint::id | ( | int | qhRunId, |
const coordT * | c | ||
) | [inline, static] |
Definition at line 48 of file QhullPoint.h.
int orgQhull::QhullPoint::id | ( | int | qhRunId, |
int | dimension, | ||
const coordT * | c | ||
) | [static] |
If qhRundID undefined uses QhullPoint::s_points_begin and dimension.
Definition at line 24 of file QhullPoint.cpp.
int orgQhull::QhullPoint::id | ( | int | qhRunId | ) | const [inline] |
Definition at line 75 of file QhullPoint.h.
int orgQhull::QhullPoint::id | ( | ) | const [inline] |
Definition at line 76 of file QhullPoint.h.
bool orgQhull::QhullPoint::isDefined | ( | ) | const [inline] |
Definition at line 77 of file QhullPoint.h.
bool orgQhull::QhullPoint::operator!= | ( | const QhullPoint & | other | ) | const [inline] |
Definition at line 102 of file QhullPoint.h.
QhullPoint& orgQhull::QhullPoint::operator= | ( | const QhullPoint & | other | ) | [inline] |
Definition at line 58 of file QhullPoint.h.
bool orgQhull::QhullPoint::operator== | ( | const QhullPoint & | other | ) | const |
Definition at line 67 of file QhullPoint.cpp.
const coordT& orgQhull::QhullPoint::operator[] | ( | int | idx | ) | const [inline] |
Reimplemented in orgQhull::QhullPoints::const_iterator, and orgQhull::QhullPoints::iterator.
Definition at line 103 of file QhullPoint.h.
coordT& orgQhull::QhullPoint::operator[] | ( | int | idx | ) | [inline] |
Definition at line 104 of file QhullPoint.h.
PrintPoint orgQhull::QhullPoint::print | ( | ) | const [inline] |
Definition at line 113 of file QhullPoint.h.
PrintPoint orgQhull::QhullPoint::print | ( | int | qhRunId | ) | const [inline] |
Definition at line 114 of file QhullPoint.h.
PrintPoint orgQhull::QhullPoint::print | ( | int | qhRunId, |
const char * | message | ||
) | const [inline] |
Definition at line 115 of file QhullPoint.h.
PrintPoint orgQhull::QhullPoint::printWithIdentifier | ( | int | qhRunId, |
const char * | message | ||
) | const [inline] |
Definition at line 116 of file QhullPoint.h.
void orgQhull::QhullPoint::setCoordinates | ( | coordT * | c | ) | [inline] |
Definition at line 84 of file QhullPoint.h.
void orgQhull::QhullPoint::setDimension | ( | int | pointDimension | ) | [inline] |
Definition at line 85 of file QhullPoint.h.
size_t orgQhull::QhullPoint::size | ( | ) | [inline] |
Definition at line 98 of file QhullPoint.h.
std::vector< coordT > orgQhull::QhullPoint::toStdVector | ( | ) | const |
Definition at line 53 of file QhullPoint.cpp.
coordT* orgQhull::QhullPoint::point_coordinates [private] |
A point is a pointer into an array of coordinates.
Definition at line 36 of file QhullPoint.h.
int orgQhull::QhullPoint::point_dimension [private] |
Definition at line 37 of file QhullPoint.h.