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

#include <QhullPoints.h>

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

Public Types

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

Public Member Functions

 iterator (const int pointDimension, coordT *c)
 
 iterator (const iterator &other)
 
 iterator (const Qhull &q, coordT *c)
 
 iterator (const Qhull &q, int pointDimension, coordT *c)
 
 iterator (const QhullPoints &ps)
 
 iterator (QhullQh *qqh, coordT *c)
 
 iterator (QhullQh *qqh, int pointDimension, coordT *c)
 
bool operator!= (const iterator &o) const
 
bool operator!= (const QhullPoints::const_iterator &o) const
 
QhullPointoperator* ()
 
const QhullPointoperator* () const
 
iterator operator+ (countT idx) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator+= (countT idx)
 
iterator operator- (countT idx) const
 
difference_type operator- (iterator o) const
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iteratoroperator-= (countT idx)
 
QhullPointoperator-> ()
 
const QhullPointoperator-> () const
 
bool operator< (const iterator &o) const
 
bool operator< (const QhullPoints::const_iterator &o) const
 
bool operator<= (const iterator &o) const
 
bool operator<= (const QhullPoints::const_iterator &o) const
 
iteratoroperator= (const iterator &other)
 
bool operator== (const iterator &o) const
 
bool operator== (const QhullPoints::const_iterator &o) const
 
bool operator> (const iterator &o) const
 
bool operator> (const QhullPoints::const_iterator &o) const
 
bool operator>= (const iterator &o) const
 
bool operator>= (const QhullPoints::const_iterator &o) 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
 
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
 
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

- Public Attributes inherited from orgQhull::QhullPoint
const typedef coordTiterator
 
const typedef coordTconst_iterator
 
- 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

Definition at line 138 of file QhullPoints.h.

Member Typedef Documentation

◆ difference_type

Definition at line 145 of file QhullPoints.h.

◆ iterator_category

typedef std::random_access_iterator_tag orgQhull::QhullPoints::iterator::iterator_category

Definition at line 141 of file QhullPoints.h.

◆ pointer

Definition at line 143 of file QhullPoints.h.

◆ reference

Definition at line 144 of file QhullPoints.h.

◆ value_type

Definition at line 142 of file QhullPoints.h.

Constructor & Destructor Documentation

◆ iterator() [1/7]

orgQhull::QhullPoints::iterator::iterator ( const QhullPoints ps)
inlineexplicit

Definition at line 147 of file QhullPoints.h.

◆ iterator() [2/7]

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

Definition at line 148 of file QhullPoints.h.

◆ iterator() [3/7]

orgQhull::QhullPoints::iterator::iterator ( const Qhull q,
coordT c 
)
inline

Definition at line 149 of file QhullPoints.h.

◆ iterator() [4/7]

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

Definition at line 150 of file QhullPoints.h.

◆ iterator() [5/7]

orgQhull::QhullPoints::iterator::iterator ( QhullQh qqh,
coordT c 
)
inline

Definition at line 151 of file QhullPoints.h.

◆ iterator() [6/7]

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

Definition at line 152 of file QhullPoints.h.

◆ iterator() [7/7]

orgQhull::QhullPoints::iterator::iterator ( const iterator other)
inline

Definition at line 153 of file QhullPoints.h.

Member Function Documentation

◆ operator!=() [1/2]

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

Definition at line 164 of file QhullPoints.h.

◆ operator!=() [2/2]

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

Definition at line 171 of file QhullPoints.h.

◆ operator*() [1/2]

QhullPoint& orgQhull::QhullPoints::iterator::operator* ( )
inline

Definition at line 158 of file QhullPoints.h.

◆ operator*() [2/2]

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

Definition at line 157 of file QhullPoints.h.

◆ operator+()

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

Definition at line 182 of file QhullPoints.h.

◆ operator++() [1/2]

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

Definition at line 176 of file QhullPoints.h.

◆ operator++() [2/2]

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

Definition at line 177 of file QhullPoints.h.

◆ operator+=()

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

Definition at line 180 of file QhullPoints.h.

◆ operator-() [1/2]

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

Definition at line 183 of file QhullPoints.h.

◆ operator-() [2/2]

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

Definition at line 184 of file QhullPoints.h.

◆ operator--() [1/2]

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

Definition at line 178 of file QhullPoints.h.

◆ operator--() [2/2]

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

Definition at line 179 of file QhullPoints.h.

◆ operator-=()

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

Definition at line 181 of file QhullPoints.h.

◆ operator->() [1/2]

QhullPoint* orgQhull::QhullPoints::iterator::operator-> ( )
inline

Definition at line 160 of file QhullPoints.h.

◆ operator->() [2/2]

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

Definition at line 159 of file QhullPoints.h.

◆ operator<() [1/2]

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

Definition at line 165 of file QhullPoints.h.

◆ operator<() [2/2]

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

Definition at line 172 of file QhullPoints.h.

◆ operator<=() [1/2]

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

Definition at line 166 of file QhullPoints.h.

◆ operator<=() [2/2]

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

Definition at line 173 of file QhullPoints.h.

◆ operator=()

iterator& orgQhull::QhullPoints::iterator::operator= ( const iterator other)
inline

Definition at line 154 of file QhullPoints.h.

◆ operator==() [1/2]

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

Definition at line 163 of file QhullPoints.h.

◆ operator==() [2/2]

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

Definition at line 170 of file QhullPoints.h.

◆ operator>() [1/2]

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

Definition at line 167 of file QhullPoints.h.

◆ operator>() [2/2]

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

Definition at line 174 of file QhullPoints.h.

◆ operator>=() [1/2]

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

Definition at line 168 of file QhullPoints.h.

◆ operator>=() [2/2]

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

Definition at line 175 of file QhullPoints.h.

◆ operator[]()

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

Definition at line 162 of file QhullPoints.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:17