List of all members
orgQhull::RboxPoints Class Reference

#include <RboxPoints.h>

Inheritance diagram for orgQhull::RboxPoints:
Inheritance graph
[legend]

Public Member Functions

GetSet
void clearRboxMessage ()
 
countT newCount () const
 
std::string rboxMessage () const
 
int rboxStatus () const
 
bool hasRboxMessage () const
 
void setNewCount (countT pointCount)
 
Modify
void appendPoints (const char *rboxCommand)
 
void reservePoints ()
 
- Public Member Functions inherited from orgQhull::PointCoordinates
 PointCoordinates ()
 
 PointCoordinates (const std::string &aComment)
 
 PointCoordinates (int pointDimension, const std::string &aComment)
 
 PointCoordinates (const Qhull &q)
 Qhull/QhullQh used for dimension() and QhullPoint equality. More...
 
 PointCoordinates (const Qhull &q, const std::string &aComment)
 
 PointCoordinates (const Qhull &q, int pointDimension, const std::string &aComment)
 
 PointCoordinates (const Qhull &q, int pointDimension, const std::string &aComment, countT coordinatesCount, const coordT *c)
 
 PointCoordinates (QhullQh *qqh)
 Use append() and appendPoints() for Coordinates and vector<coordT> More...
 
 PointCoordinates (QhullQh *qqh, const std::string &aComment)
 
 PointCoordinates (QhullQh *qqh, int pointDimension, const std::string &aComment)
 
 PointCoordinates (QhullQh *qqh, int pointDimension, const std::string &aComment, countT coordinatesCount, const coordT *c)
 
 PointCoordinates (const PointCoordinates &other)
 Use append() and appendPoints() for Coordinates and vector<coordT> More...
 
PointCoordinatesoperator= (const PointCoordinates &other)
 
 ~PointCoordinates ()
 
void append (const std::vector< coordT > &otherCoordinates)
 QhullPoints coordinates, constData, data, count, size. More...
 
std::vector< coordTtoStdVector () const
 
Coordinates::ConstIterator beginCoordinates () const
 See QhullPoints for begin, constBegin, end. More...
 
Coordinates::Iterator beginCoordinates ()
 
Coordinates::ConstIterator beginCoordinates (countT pointIndex) const
 
Coordinates::Iterator beginCoordinates (countT pointIndex)
 
Coordinates::ConstIterator endCoordinates () const
 
Coordinates::Iterator endCoordinates ()
 
void append (countT coordinatesCount, const coordT *c)
 
void append (const coordT &c)
 Dimension previously defined. More...
 
void append (const QhullPoint &p)
 Dimension previously defined. More...
 
void append (const Coordinates &c)
 See convert for std::vector and QList. More...
 
void append (const PointCoordinates &other)
 
void appendComment (const std::string &s)
 
void appendPoints (std::istream &in)
 
PointCoordinatesoperator+= (const PointCoordinates &other)
 
PointCoordinatesoperator+= (const coordT &c)
 
PointCoordinatesoperator+= (const QhullPoint &p)
 
PointCoordinatesoperator<< (const PointCoordinates &other)
 
PointCoordinatesoperator<< (const coordT &c)
 
PointCoordinatesoperator<< (const QhullPoint &p)
 
void reserveCoordinates (countT newCoordinates)
 
void checkValid () const
 See QhullPoints for coordinates, coordinateCount, dimension, empty, isEmpty, ==, !=. More...
 
std::string comment () const
 
void makeValid ()
 
const CoordinatesgetCoordinates () const
 
void setComment (const std::string &s)
 
void setDimension (int i)
 
PointCoordinates operator+ (const PointCoordinates &other) const
 
- Public Member Functions inherited from orgQhull::QhullPoints
 QhullPoints ()
 
 QhullPoints (int pointDimension, countT coordinateCount2, coordT *c)
 
 QhullPoints (const Qhull &q)
 
 QhullPoints (const Qhull &q, countT coordinateCount2, coordT *c)
 
 QhullPoints (const Qhull &q, int pointDimension, countT coordinateCount2, coordT *c)
 
 QhullPoints (QhullQh *qqh)
 
 QhullPoints (QhullQh *qqh, countT coordinateCount2, coordT *c)
 
 QhullPoints (QhullQh *qqh, int pointDimension, countT coordinateCount2, coordT *c)
 
 QhullPoints (const QhullPoints &other)
 Copy constructor copies pointers but not contents. Needed for return by value and parameter passing. More...
 
QhullPointsoperator= (const QhullPoints &other)
 
 ~QhullPoints ()
 
std::vector< QhullPointtoStdVector () const
 
const QhullPoint at (countT idx) const
 
const QhullPoint back () const
 
QhullPoint back ()
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator constBegin () const
 
const coordTconstData () const
 
ConstIterator constEnd () const
 
coordTcoordinates () const
 
countT coordinateCount () const
 
countT count () const
 
const coordTdata () const
 
coordTdata ()
 
void defineAs (int pointDimension, countT coordinatesCount, coordT *c)
 
void defineAs (countT coordinatesCount, coordT *c)
 
void defineAs (const QhullPoints &other)
 
int dimension () const
 
ConstIterator end () const
 
Iterator end ()
 
coordTextraCoordinates () const
 
countT extraCoordinatesCount () const
 
const QhullPoint first () const
 
QhullPoint first ()
 
const QhullPoint front () const
 
QhullPoint front ()
 
bool includesCoordinates (const coordT *c) const
 
bool isEmpty () const
 
const QhullPoint last () const
 
QhullPoint last ()
 
bool operator== (const QhullPoints &other) const
 
bool operator!= (const QhullPoints &other) const
 
QhullPoint operator[] (countT idx) const
 
QhullQhqh () const
 
void resetQhullQh (QhullQh *qqh)
 
void setDimension (int d)
 
size_t size () const
 
QhullPoint value (countT idx) const
 
QhullPoint value (countT idx, QhullPoint &defaultValue) const
 
bool contains (const QhullPoint &t) const
 
countT count (const QhullPoint &t) const
 
countT indexOf (const coordT *pointCoordinates) const
 
countT indexOf (const coordT *pointCoordinates, int noThrow) const
 
countT indexOf (const QhullPoint &t) const
 
countT lastIndexOf (const QhullPoint &t) const
 
QhullPoints mid (countT idx, countT length=-1) const
 Returns a subset of the points, not a copy. More...
 
PrintPoints print (const char *message) const
 
PrintPoints printWithIdentifier (const char *message) const
 

Fields and friends

countT rbox_new_count
 PointCoordinates.qh() is owned by RboxPoints. More...
 
int rbox_status
 Number of points for PointCoordinates. More...
 
std::string rbox_message
 error status from rboxpoints. qh_ERRnone if none. More...
 
friend void ::qh_fprintf_rbox (qhT *qh, FILE *fp, int msgcode, const char *fmt,...)
 stderr from rboxpoints More...
 

Construct

 RboxPoints (const RboxPoints &)
 
RboxPointsoperator= (const RboxPoints &)
 
void allocateQhullQh ()
 
 RboxPoints ()
 
 RboxPoints (const char *rboxCommand)
 
 ~RboxPoints ()
 

Additional Inherited Members

- Public Types inherited from orgQhull::QhullPoints
typedef QhullPoints::const_iterator ConstIterator
 
typedef QhullPoints::iterator Iterator
 

Detailed Description

Definition at line 31 of file RboxPoints.h.

Constructor & Destructor Documentation

◆ RboxPoints() [1/3]

orgQhull::RboxPoints::RboxPoints ( )

Definition at line 35 of file RboxPoints.cpp.

◆ RboxPoints() [2/3]

orgQhull::RboxPoints::RboxPoints ( const char *  rboxCommand)
explicit

Allocate and generate points according to rboxCommand For rbox commands, see http://www.qhull.org/html/rbox.htm or html/rbox.htm Same as appendPoints()

Definition at line 48 of file RboxPoints.cpp.

◆ ~RboxPoints()

orgQhull::RboxPoints::~RboxPoints ( )

Definition at line 60 of file RboxPoints.cpp.

◆ RboxPoints() [3/3]

orgQhull::RboxPoints::RboxPoints ( const RboxPoints )
private

Member Function Documentation

◆ allocateQhullQh()

void orgQhull::RboxPoints::allocateQhullQh ( )
private

Definition at line 70 of file RboxPoints.cpp.

◆ appendPoints()

void orgQhull::RboxPoints::appendPoints ( const char *  rboxCommand)

Appends points as defined by rboxCommand Appends rboxCommand to comment For rbox commands, see http://www.qhull.org/html/rbox.htm or html/rbox.htm

Definition at line 115 of file RboxPoints.cpp.

◆ clearRboxMessage()

void orgQhull::RboxPoints::clearRboxMessage ( )

Definition at line 79 of file RboxPoints.cpp.

◆ hasRboxMessage()

bool orgQhull::RboxPoints::hasRboxMessage ( ) const

Definition at line 104 of file RboxPoints.cpp.

◆ newCount()

countT orgQhull::RboxPoints::newCount ( ) const
inline

Definition at line 57 of file RboxPoints.h.

◆ operator=()

RboxPoints& orgQhull::RboxPoints::operator= ( const RboxPoints )
private

◆ rboxMessage()

std::string orgQhull::RboxPoints::rboxMessage ( ) const

Definition at line 86 of file RboxPoints.cpp.

◆ rboxStatus()

int orgQhull::RboxPoints::rboxStatus ( ) const

Definition at line 98 of file RboxPoints.cpp.

◆ reservePoints()

void orgQhull::RboxPoints::reservePoints ( )
inline

Definition at line 66 of file RboxPoints.h.

◆ setNewCount()

void orgQhull::RboxPoints::setNewCount ( countT  pointCount)
inline

Definition at line 61 of file RboxPoints.h.

◆ void ::qh_fprintf_rbox()

orgQhull::RboxPoints::void ::qh_fprintf_rbox ( qhT qh,
FILE *  fp,
int  msgcode,
const char *  fmt,
  ... 
)
private

stderr from rboxpoints

Member Data Documentation

◆ rbox_message

std::string orgQhull::RboxPoints::rbox_message
private

error status from rboxpoints. qh_ERRnone if none.

Definition at line 38 of file RboxPoints.h.

◆ rbox_new_count

countT orgQhull::RboxPoints::rbox_new_count
private

PointCoordinates.qh() is owned by RboxPoints.

Definition at line 36 of file RboxPoints.h.

◆ rbox_status

int orgQhull::RboxPoints::rbox_status
private

Number of points for PointCoordinates.

Definition at line 37 of file RboxPoints.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