Public Types | Public Member Functions | List of all members
orgQhull::QhullPoints::const_iterator Class Reference

#include <QhullPoints.h>

Inheritance diagram for orgQhull::QhullPoints::const_iterator:
Inheritance graph
[legend]

Public Types

typedef ptrdiff_t difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef const value_typepointer
 
typedef const value_typereference
 
typedef QhullPoint value_type
 
- Public Types inherited from orgQhull::QhullPoint
typedef coordTbase_type
 
typedef const coordTiterator
 
typedef const coordTconst_iterator
 
typedef QhullPoint::iterator Iterator
 
typedef QhullPoint::const_iterator ConstIterator
 

Public Member Functions

 const_iterator (const QhullPoints::iterator &o)
 
 const_iterator (const QhullPoints &ps)
 
 const_iterator (const int pointDimension, coordT *c)
 
 const_iterator (const Qhull &q, coordT *c)
 
 const_iterator (const Qhull &q, int pointDimension, coordT *c)
 
 const_iterator (QhullQh *qqh, coordT *c)
 
 const_iterator (QhullQh *qqh, int pointDimension, coordT *c)
 
 const_iterator (const const_iterator &o)
 
bool operator!= (const const_iterator &o) const
 
const QhullPointoperator* () const
 
const_iterator operator+ (countT idx) const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator+= (countT idx)
 
const_iterator operator- (countT idx) const
 
difference_type operator- (const_iterator o) const
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
const_iteratoroperator-= (countT idx)
 
const QhullPointoperator-> () const
 
bool operator< (const const_iterator &o) const
 
bool operator<= (const const_iterator &o) const
 
const_iteratoroperator= (const const_iterator &o)
 
bool operator== (const const_iterator &o) const
 
bool operator> (const const_iterator &o) const
 
bool operator>= (const const_iterator &o) const
 
const QhullPoint operator[] (countT idx) const
 
- Public Member Functions inherited from orgQhull::QhullPoint
 QhullPoint ()
 
 QhullPoint (int pointDimension, coordT *c)
 
 QhullPoint (const Qhull &q)
 
 QhullPoint (const Qhull &q, coordT *c)
 
 QhullPoint (const Qhull &q, Coordinates &c)
 QhullPoint of Coordinates with point_dimension==c.count() More...
 
 QhullPoint (const Qhull &q, int pointDimension, coordT *c)
 
 QhullPoint (QhullQh *qqh)
 
 QhullPoint (QhullQh *qqh, coordT *c)
 
 QhullPoint (QhullQh *qqh, Coordinates &c)
 
 QhullPoint (QhullQh *qqh, int pointDimension, coordT *c)
 
 QhullPoint (const QhullPoint &other)
 Creates an alias. Does not make a deep copy of the point. Needed for return by value and parameter passing. More...
 
QhullPointoperator= (const QhullPoint &other)
 Creates an alias. Does not make a deep copy of the point. Needed for vector<QhullPoint> More...
 
 ~QhullPoint ()
 
std::vector< coordTtoStdVector () const
 
const coordTcoordinates () const
 0 if undefined More...
 
coordTcoordinates ()
 0 if undefined More...
 
void defineAs (coordT *c)
 
void defineAs (int pointDimension, coordT *c)
 
void defineAs (QhullPoint &other)
 
int dimension () const
 
coordTgetBaseT () const
 
countT id () const
 
bool isValid () const
 
bool operator== (const QhullPoint &other) const
 
bool operator!= (const QhullPoint &other) const
 
const coordToperator[] (int idx) const
 0 to hull_dim-1 More...
 
coordToperator[] (int idx)
 0 to hull_dim-1 More...
 
QhullQhqh ()
 
void setCoordinates (coordT *c)
 
void setDimension (int pointDimension)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
const_iterator constEnd () const
 
int count ()
 
iterator end ()
 
const_iterator end () const
 
size_t size ()
 
void advancePoint (countT idx)
 
double distance (const QhullPoint &p) const
 Return distance between two points. More...
 
PrintPoint print (const char *message) const
 
PrintPoint printWithIdentifier (const char *message) const
 

Additional Inherited Members

- Protected Attributes inherited from orgQhull::QhullPoint
coordTpoint_coordinates
 Pointer to first coordinate, 0 if undefined. More...
 
QhullQhqh_qh
 
int point_dimension
 Default dimension is qh_qh->hull_dim. More...
 

Detailed Description

Todo:
FIXUP QH11018 const_iterator same as iterator. SHould have a common definition

Definition at line 183 of file QhullPoints.h.

Member Typedef Documentation

◆ difference_type

Definition at line 190 of file QhullPoints.h.

◆ iterator_category

typedef std::random_access_iterator_tag orgQhull::QhullPoints::const_iterator::iterator_category

Definition at line 186 of file QhullPoints.h.

◆ pointer

Definition at line 188 of file QhullPoints.h.

◆ reference

Definition at line 189 of file QhullPoints.h.

◆ value_type

Definition at line 187 of file QhullPoints.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/8]

Definition at line 192 of file QhullPoints.h.

◆ const_iterator() [2/8]

Definition at line 193 of file QhullPoints.h.

◆ const_iterator() [3/8]

orgQhull::QhullPoints::const_iterator::const_iterator ( const int  pointDimension,
coordT c 
)
inline

Definition at line 194 of file QhullPoints.h.

◆ const_iterator() [4/8]

Definition at line 195 of file QhullPoints.h.

◆ const_iterator() [5/8]

orgQhull::QhullPoints::const_iterator::const_iterator ( const Qhull q,
int  pointDimension,
coordT c 
)
inline

Definition at line 196 of file QhullPoints.h.

◆ const_iterator() [6/8]

Definition at line 197 of file QhullPoints.h.

◆ const_iterator() [7/8]

orgQhull::QhullPoints::const_iterator::const_iterator ( QhullQh qqh,
int  pointDimension,
coordT c 
)
inline

Definition at line 198 of file QhullPoints.h.

◆ const_iterator() [8/8]

Definition at line 199 of file QhullPoints.h.

Member Function Documentation

◆ operator!=()

bool orgQhull::QhullPoints::const_iterator::operator!= ( const const_iterator o) const
inline

Definition at line 208 of file QhullPoints.h.

◆ operator*()

const QhullPoint& orgQhull::QhullPoints::const_iterator::operator* ( ) const
inline

Definition at line 203 of file QhullPoints.h.

◆ operator+()

const_iterator orgQhull::QhullPoints::const_iterator::operator+ ( countT  idx) const
inline

Definition at line 219 of file QhullPoints.h.

◆ operator++() [1/2]

const_iterator& orgQhull::QhullPoints::const_iterator::operator++ ( )
inline

Definition at line 213 of file QhullPoints.h.

◆ operator++() [2/2]

const_iterator orgQhull::QhullPoints::const_iterator::operator++ ( int  )
inline

Definition at line 214 of file QhullPoints.h.

◆ operator+=()

const_iterator& orgQhull::QhullPoints::const_iterator::operator+= ( countT  idx)
inline

Definition at line 217 of file QhullPoints.h.

◆ operator-() [1/2]

const_iterator orgQhull::QhullPoints::const_iterator::operator- ( countT  idx) const
inline

Definition at line 220 of file QhullPoints.h.

◆ operator-() [2/2]

difference_type orgQhull::QhullPoints::const_iterator::operator- ( const_iterator  o) const
inline

Definition at line 221 of file QhullPoints.h.

◆ operator--() [1/2]

const_iterator& orgQhull::QhullPoints::const_iterator::operator-- ( )
inline

Definition at line 215 of file QhullPoints.h.

◆ operator--() [2/2]

const_iterator orgQhull::QhullPoints::const_iterator::operator-- ( int  )
inline

Definition at line 216 of file QhullPoints.h.

◆ operator-=()

const_iterator& orgQhull::QhullPoints::const_iterator::operator-= ( countT  idx)
inline

Definition at line 218 of file QhullPoints.h.

◆ operator->()

const QhullPoint* orgQhull::QhullPoints::const_iterator::operator-> ( ) const
inline

Definition at line 204 of file QhullPoints.h.

◆ operator<()

bool orgQhull::QhullPoints::const_iterator::operator< ( const const_iterator o) const
inline

Definition at line 209 of file QhullPoints.h.

◆ operator<=()

bool orgQhull::QhullPoints::const_iterator::operator<= ( const const_iterator o) const
inline

Definition at line 210 of file QhullPoints.h.

◆ operator=()

const_iterator& orgQhull::QhullPoints::const_iterator::operator= ( const const_iterator o)
inline

Definition at line 200 of file QhullPoints.h.

◆ operator==()

bool orgQhull::QhullPoints::const_iterator::operator== ( const const_iterator o) const
inline

Definition at line 207 of file QhullPoints.h.

◆ operator>()

bool orgQhull::QhullPoints::const_iterator::operator> ( const const_iterator o) const
inline

Definition at line 211 of file QhullPoints.h.

◆ operator>=()

bool orgQhull::QhullPoints::const_iterator::operator>= ( const const_iterator o) const
inline

Definition at line 212 of file QhullPoints.h.

◆ operator[]()

const QhullPoint orgQhull::QhullPoints::const_iterator::operator[] ( countT  idx) const
inline

Definition at line 206 of file QhullPoints.h.


The documentation for this class was generated from the following file:


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03