#include <PointCoordinates.h>
Public Member Functions | |
void | append (const std::vector< coordT > &otherCoordinates) |
QhullPoints coordinates, constData, data, count, size. | |
void | append (int coordinatesCount, const coordT *c) |
void | append (const coordT &c) |
Dimension previously defined. | |
void | append (const QhullPoint &p) |
Dimension previously defined. | |
void | append (const Coordinates &c) |
See convert for std::vector and QList. | |
void | append (const PointCoordinates &other) |
void | appendComment (const std::string &s) |
void | appendPoints (std::istream &in) |
Coordinates::ConstIterator | beginCoordinates () const |
defineAs() otherwise disabled | |
Coordinates::Iterator | beginCoordinates () |
Coordinates::ConstIterator | beginCoordinates (int pointIndex) const |
Coordinates::Iterator | beginCoordinates (int pointIndex) |
void | checkValid () const |
See QhullPoints for coordinates, coordinateCount, dimension, empty, isEmpty, ==, !=. | |
std::string | comment () const |
Coordinates::ConstIterator | endCoordinates () const |
Coordinates::Iterator | endCoordinates () |
const Coordinates & | getCoordinates () const |
void | makeValid () |
PointCoordinates | operator+ (const PointCoordinates &other) const |
See QhullPoints for contains, count, indexOf, lastIndexOf. | |
PointCoordinates & | operator+= (const PointCoordinates &other) |
PointCoordinates & | operator+= (const coordT &c) |
PointCoordinates & | operator+= (const QhullPoint &p) |
PointCoordinates & | operator<< (const PointCoordinates &other) |
PointCoordinates & | operator<< (const coordT &c) |
PointCoordinates & | operator<< (const QhullPoint &p) |
PointCoordinates & | operator= (const PointCoordinates &other) |
PointCoordinates () | |
Comment describing PointCoordinates. | |
PointCoordinates (int pointDimension) | |
PointCoordinates (const std::string &aComment) | |
PointCoordinates (int pointDimension, const std::string &aComment) | |
PointCoordinates (int pointDimension, const std::string &aComment, int coordinatesCount, const coordT *c) | |
PointCoordinates (const PointCoordinates &other) | |
Use append() and appendPoints() for Coordinates and vector<coordT> | |
void | reserveCoordinates (int newCoordinates) |
void | setComment (const std::string &s) |
void | setDimension (int i) |
std::vector< coordT > | toStdVector () const |
~PointCoordinates () | |
Private Member Functions | |
void | defineAs (int coordinatesCount, coordT *c) |
int | indexOffset (int i) const |
Private Attributes | |
std::string | point_comment |
Coordinates | point_coordinates |
Definition at line 27 of file PointCoordinates.h.
Comment describing PointCoordinates.
PointCoordinates -- vector of PointCoordinates.
Definition at line 30 of file PointCoordinates.cpp.
orgQhull::PointCoordinates::PointCoordinates | ( | int | pointDimension | ) | [explicit] |
Definition at line 40 of file PointCoordinates.cpp.
orgQhull::PointCoordinates::PointCoordinates | ( | const std::string & | aComment | ) | [explicit] |
Definition at line 49 of file PointCoordinates.cpp.
orgQhull::PointCoordinates::PointCoordinates | ( | int | pointDimension, |
const std::string & | aComment | ||
) |
Definition at line 58 of file PointCoordinates.cpp.
orgQhull::PointCoordinates::PointCoordinates | ( | int | pointDimension, |
const std::string & | aComment, | ||
int | coordinatesCount, | ||
const coordT * | c | ||
) |
Definition at line 67 of file PointCoordinates.cpp.
orgQhull::PointCoordinates::PointCoordinates | ( | const PointCoordinates & | other | ) |
Use append() and appendPoints() for Coordinates and vector<coordT>
Definition at line 76 of file PointCoordinates.cpp.
Definition at line 94 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::append | ( | const std::vector< coordT > & | otherCoordinates | ) | [inline] |
QhullPoints coordinates, constData, data, count, size.
Definition at line 50 of file PointCoordinates.h.
void orgQhull::PointCoordinates::append | ( | int | coordinatesCount, |
const coordT * | c | ||
) |
Definition at line 138 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::append | ( | const coordT & | c | ) | [inline] |
Dimension previously defined.
Definition at line 93 of file PointCoordinates.h.
void orgQhull::PointCoordinates::append | ( | const QhullPoint & | p | ) |
Dimension previously defined.
Definition at line 159 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::append | ( | const Coordinates & | c | ) | [inline] |
See convert for std::vector and QList.
Definition at line 96 of file PointCoordinates.h.
void orgQhull::PointCoordinates::append | ( | const PointCoordinates & | other | ) |
Definition at line 152 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::appendComment | ( | const std::string & | s | ) |
Definition at line 166 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::appendPoints | ( | std::istream & | in | ) |
Read PointCoordinates from istream. First two numbers are dimension and count. A non-digit starts a rboxCommand. Overwrites point_comment. See qh_readpoints [io.c]
Definition at line 178 of file PointCoordinates.cpp.
Coordinates::ConstIterator orgQhull::PointCoordinates::beginCoordinates | ( | ) | const [inline] |
defineAs() otherwise disabled
See QhullPoints for at, back, first, front, last, mid, [], value See QhullPoints for begin, constBegin, end
Definition at line 77 of file PointCoordinates.h.
Definition at line 78 of file PointCoordinates.h.
Coordinates::ConstIterator orgQhull::PointCoordinates::beginCoordinates | ( | int | pointIndex | ) | const |
Definition at line 124 of file PointCoordinates.cpp.
Coordinates::Iterator orgQhull::PointCoordinates::beginCoordinates | ( | int | pointIndex | ) |
Definition at line 130 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::checkValid | ( | ) | const |
See QhullPoints for coordinates, coordinateCount, dimension, empty, isEmpty, ==, !=.
Definition at line 100 of file PointCoordinates.cpp.
std::string orgQhull::PointCoordinates::comment | ( | ) | const [inline] |
Definition at line 61 of file PointCoordinates.h.
void orgQhull::PointCoordinates::defineAs | ( | int | coordinatesCount, |
coordT * | c | ||
) | [inline, private] |
Reimplemented from orgQhull::QhullPoints.
Definition at line 68 of file PointCoordinates.h.
Coordinates::ConstIterator orgQhull::PointCoordinates::endCoordinates | ( | ) | const [inline] |
Definition at line 81 of file PointCoordinates.h.
Definition at line 82 of file PointCoordinates.h.
const Coordinates& orgQhull::PointCoordinates::getCoordinates | ( | ) | const [inline] |
Definition at line 63 of file PointCoordinates.h.
int orgQhull::PointCoordinates::indexOffset | ( | int | i | ) | const [private] |
Definition at line 253 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::makeValid | ( | ) | [inline] |
Definition at line 62 of file PointCoordinates.h.
PointCoordinates orgQhull::PointCoordinates::operator+ | ( | const PointCoordinates & | other | ) | const |
See QhullPoints for contains, count, indexOf, lastIndexOf.
Definition at line 235 of file PointCoordinates.cpp.
PointCoordinates& orgQhull::PointCoordinates::operator+= | ( | const PointCoordinates & | other | ) | [inline] |
Definition at line 100 of file PointCoordinates.h.
PointCoordinates& orgQhull::PointCoordinates::operator+= | ( | const coordT & | c | ) | [inline] |
Definition at line 101 of file PointCoordinates.h.
PointCoordinates& orgQhull::PointCoordinates::operator+= | ( | const QhullPoint & | p | ) | [inline] |
Definition at line 102 of file PointCoordinates.h.
PointCoordinates& orgQhull::PointCoordinates::operator<< | ( | const PointCoordinates & | other | ) | [inline] |
Definition at line 103 of file PointCoordinates.h.
PointCoordinates& orgQhull::PointCoordinates::operator<< | ( | const coordT & | c | ) | [inline] |
Definition at line 104 of file PointCoordinates.h.
PointCoordinates& orgQhull::PointCoordinates::operator<< | ( | const QhullPoint & | p | ) | [inline] |
Definition at line 105 of file PointCoordinates.h.
PointCoordinates & orgQhull::PointCoordinates::operator= | ( | const PointCoordinates & | other | ) |
Definition at line 85 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::reserveCoordinates | ( | int | newCoordinates | ) |
Definition at line 243 of file PointCoordinates.cpp.
void orgQhull::PointCoordinates::setComment | ( | const std::string & | s | ) | [inline] |
Definition at line 64 of file PointCoordinates.h.
void orgQhull::PointCoordinates::setDimension | ( | int | i | ) |
Reimplemented from orgQhull::QhullPoints.
Definition at line 109 of file PointCoordinates.cpp.
std::vector<coordT> orgQhull::PointCoordinates::toStdVector | ( | ) | const [inline] |
Reimplemented from orgQhull::QhullPoints.
Definition at line 51 of file PointCoordinates.h.
std::string orgQhull::PointCoordinates::point_comment [private] |
array of point coordinates may have extraCoordinates()
Definition at line 33 of file PointCoordinates.h.
Definition at line 31 of file PointCoordinates.h.