List of all members
orgQhull::PointCoordinates Class Reference

#include <PointCoordinates.h>

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

Public Member Functions

Construct

Comment describing 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 ()
 
Convert
void append (const std::vector< coordT > &otherCoordinates)
 QhullPoints coordinates, constData, data, count, size. More...
 
std::vector< coordTtoStdVector () const
 
Foreach

See QhullPoints for at, back, first, front, last, mid, [], value

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 ()
 
Modify
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)
 
- 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
 

Private Member Functions

Helpers
int indexOffset (int i) const
 

Private Attributes

Fields
Coordinates point_coordinates
 
std::string describe_points
 

GetSet

See QhullPoints for contains, count, indexOf, lastIndexOf

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
 
void defineAs (countT coordinatesCount, coordT *c)
 disable QhullPoints.defineAs() More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 32 of file PointCoordinates.h.

Constructor & Destructor Documentation

◆ PointCoordinates() [1/12]

orgQhull::PointCoordinates::PointCoordinates ( )

QhullPoint, PointCoordinates, and QhullPoints have similar constructors If Qhull/QhullQh is not initialized, then dimension()==0 PointCoordinates();

Definition at line 32 of file PointCoordinates.cpp.

◆ PointCoordinates() [2/12]

orgQhull::PointCoordinates::PointCoordinates ( const std::string &  aComment)
explicit

Definition at line 40 of file PointCoordinates.cpp.

◆ PointCoordinates() [3/12]

orgQhull::PointCoordinates::PointCoordinates ( int  pointDimension,
const std::string &  aComment 
)

Definition at line 48 of file PointCoordinates.cpp.

◆ PointCoordinates() [4/12]

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

Qhull/QhullQh used for dimension() and QhullPoint equality.

Qhull and QhullQh constructors are the same.

Definition at line 58 of file PointCoordinates.cpp.

◆ PointCoordinates() [5/12]

orgQhull::PointCoordinates::PointCoordinates ( const Qhull q,
const std::string &  aComment 
)

Definition at line 66 of file PointCoordinates.cpp.

◆ PointCoordinates() [6/12]

orgQhull::PointCoordinates::PointCoordinates ( const Qhull q,
int  pointDimension,
const std::string &  aComment 
)

Definition at line 74 of file PointCoordinates.cpp.

◆ PointCoordinates() [7/12]

orgQhull::PointCoordinates::PointCoordinates ( const Qhull q,
int  pointDimension,
const std::string &  aComment,
countT  coordinatesCount,
const coordT c 
)

Definition at line 83 of file PointCoordinates.cpp.

◆ PointCoordinates() [8/12]

orgQhull::PointCoordinates::PointCoordinates ( QhullQh qqh)
explicit

Use append() and appendPoints() for Coordinates and vector<coordT>

Definition at line 93 of file PointCoordinates.cpp.

◆ PointCoordinates() [9/12]

orgQhull::PointCoordinates::PointCoordinates ( QhullQh qqh,
const std::string &  aComment 
)

Definition at line 101 of file PointCoordinates.cpp.

◆ PointCoordinates() [10/12]

orgQhull::PointCoordinates::PointCoordinates ( QhullQh qqh,
int  pointDimension,
const std::string &  aComment 
)

Definition at line 109 of file PointCoordinates.cpp.

◆ PointCoordinates() [11/12]

orgQhull::PointCoordinates::PointCoordinates ( QhullQh qqh,
int  pointDimension,
const std::string &  aComment,
countT  coordinatesCount,
const coordT c 
)

Definition at line 118 of file PointCoordinates.cpp.

◆ PointCoordinates() [12/12]

orgQhull::PointCoordinates::PointCoordinates ( const PointCoordinates other)

Use append() and appendPoints() for Coordinates and vector<coordT>

Definition at line 128 of file PointCoordinates.cpp.

◆ ~PointCoordinates()

orgQhull::PointCoordinates::~PointCoordinates ( )

Definition at line 147 of file PointCoordinates.cpp.

Member Function Documentation

◆ append() [1/6]

void orgQhull::PointCoordinates::append ( const std::vector< coordT > &  otherCoordinates)
inline

QhullPoints coordinates, constData, data, count, size.

Definition at line 65 of file PointCoordinates.h.

◆ append() [2/6]

void orgQhull::PointCoordinates::append ( countT  coordinatesCount,
const coordT c 
)

Definition at line 191 of file PointCoordinates.cpp.

◆ append() [3/6]

void orgQhull::PointCoordinates::append ( const coordT c)
inline

Dimension previously defined.

Definition at line 108 of file PointCoordinates.h.

◆ append() [4/6]

void orgQhull::PointCoordinates::append ( const QhullPoint p)

Dimension previously defined.

Definition at line 212 of file PointCoordinates.cpp.

◆ append() [5/6]

void orgQhull::PointCoordinates::append ( const Coordinates c)
inline

See convert for std::vector and QList.

Definition at line 111 of file PointCoordinates.h.

◆ append() [6/6]

void orgQhull::PointCoordinates::append ( const PointCoordinates other)

Definition at line 205 of file PointCoordinates.cpp.

◆ appendComment()

void orgQhull::PointCoordinates::appendComment ( const std::string &  s)

Definition at line 219 of file PointCoordinates.cpp.

◆ appendPoints()

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 describe_points. See qh_readpoints [io.c]

Definition at line 231 of file PointCoordinates.cpp.

◆ beginCoordinates() [1/4]

Coordinates::ConstIterator orgQhull::PointCoordinates::beginCoordinates ( ) const
inline

See QhullPoints for begin, constBegin, end.

Definition at line 92 of file PointCoordinates.h.

◆ beginCoordinates() [2/4]

Coordinates::Iterator orgQhull::PointCoordinates::beginCoordinates ( )
inline

Definition at line 93 of file PointCoordinates.h.

◆ beginCoordinates() [3/4]

Coordinates::ConstIterator orgQhull::PointCoordinates::beginCoordinates ( countT  pointIndex) const

Definition at line 177 of file PointCoordinates.cpp.

◆ beginCoordinates() [4/4]

Coordinates::Iterator orgQhull::PointCoordinates::beginCoordinates ( countT  pointIndex)

Definition at line 183 of file PointCoordinates.cpp.

◆ checkValid()

void orgQhull::PointCoordinates::checkValid ( ) const

See QhullPoints for coordinates, coordinateCount, dimension, empty, isEmpty, ==, !=.

Definition at line 153 of file PointCoordinates.cpp.

◆ comment()

std::string orgQhull::PointCoordinates::comment ( ) const
inline

Definition at line 76 of file PointCoordinates.h.

◆ defineAs()

void orgQhull::PointCoordinates::defineAs ( countT  coordinatesCount,
coordT c 
)
inlineprivate

disable QhullPoints.defineAs()

Definition at line 84 of file PointCoordinates.h.

◆ endCoordinates() [1/2]

Coordinates::ConstIterator orgQhull::PointCoordinates::endCoordinates ( ) const
inline

Definition at line 96 of file PointCoordinates.h.

◆ endCoordinates() [2/2]

Coordinates::Iterator orgQhull::PointCoordinates::endCoordinates ( )
inline

Definition at line 97 of file PointCoordinates.h.

◆ getCoordinates()

const Coordinates& orgQhull::PointCoordinates::getCoordinates ( ) const
inline

Definition at line 78 of file PointCoordinates.h.

◆ indexOffset()

countT orgQhull::PointCoordinates::indexOffset ( int  i) const
private

Definition at line 307 of file PointCoordinates.cpp.

◆ makeValid()

void orgQhull::PointCoordinates::makeValid ( )
inline

Definition at line 77 of file PointCoordinates.h.

◆ operator+()

PointCoordinates orgQhull::PointCoordinates::operator+ ( const PointCoordinates other) const

Definition at line 289 of file PointCoordinates.cpp.

◆ operator+=() [1/3]

PointCoordinates& orgQhull::PointCoordinates::operator+= ( const PointCoordinates other)
inline

Definition at line 115 of file PointCoordinates.h.

◆ operator+=() [2/3]

PointCoordinates& orgQhull::PointCoordinates::operator+= ( const coordT c)
inline

Definition at line 116 of file PointCoordinates.h.

◆ operator+=() [3/3]

PointCoordinates& orgQhull::PointCoordinates::operator+= ( const QhullPoint p)
inline

Definition at line 117 of file PointCoordinates.h.

◆ operator<<() [1/3]

PointCoordinates& orgQhull::PointCoordinates::operator<< ( const PointCoordinates other)
inline

Definition at line 118 of file PointCoordinates.h.

◆ operator<<() [2/3]

PointCoordinates& orgQhull::PointCoordinates::operator<< ( const coordT c)
inline

Definition at line 119 of file PointCoordinates.h.

◆ operator<<() [3/3]

PointCoordinates& orgQhull::PointCoordinates::operator<< ( const QhullPoint p)
inline

Definition at line 120 of file PointCoordinates.h.

◆ operator=()

PointCoordinates & orgQhull::PointCoordinates::operator= ( const PointCoordinates other)

Definition at line 137 of file PointCoordinates.cpp.

◆ reserveCoordinates()

void orgQhull::PointCoordinates::reserveCoordinates ( countT  newCoordinates)

Definition at line 297 of file PointCoordinates.cpp.

◆ setComment()

void orgQhull::PointCoordinates::setComment ( const std::string &  s)
inline

Definition at line 79 of file PointCoordinates.h.

◆ setDimension()

void orgQhull::PointCoordinates::setDimension ( int  i)

Definition at line 162 of file PointCoordinates.cpp.

◆ toStdVector()

std::vector<coordT> orgQhull::PointCoordinates::toStdVector ( ) const
inline

Definition at line 66 of file PointCoordinates.h.

Member Data Documentation

◆ describe_points

std::string orgQhull::PointCoordinates::describe_points
private

std::vector of point coordinates may have extraCoordinates()

Definition at line 38 of file PointCoordinates.h.

◆ point_coordinates

Coordinates orgQhull::PointCoordinates::point_coordinates
private

Definition at line 36 of file PointCoordinates.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