All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
orgQhull::QhullPoint Class Reference

#include <QhullPoint.h>

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

List of all members.

Classes

struct  PrintPoint

Public Types

typedef const coordTconst_iterator
typedef QhullPoint::const_iterator ConstIterator
typedef const coordTiterator
typedef QhullPoint::iterator Iterator

Public Member Functions

void advancePoint (int idx)
iterator begin ()
const_iterator begin () const
const_iterator constBegin () const
const_iterator constEnd () const
const coordTcoordinates () const
coordTcoordinates ()
int count ()
void defineAs (int pointDimension, coordT *c)
void defineAs (QhullPoint &other)
 Creates an alias to other.
int dimension () const
double distance (const QhullPoint &p) const
 Return distance betweeen two points.
iterator end ()
const_iterator end () const
int id (int qhRunId) const
int id () const
bool isDefined () const
bool operator!= (const QhullPoint &other) const
QhullPointoperator= (const QhullPoint &other)
bool operator== (const QhullPoint &other) const
const coordToperator[] (int idx) const
coordToperator[] (int idx)
PrintPoint print () const
PrintPoint print (int qhRunId) const
PrintPoint print (int qhRunId, const char *message) const
PrintPoint printWithIdentifier (int qhRunId, const char *message) const
 QhullPoint ()
 QhullPoint (int pointDimension, coordT *c)
 QhullPoint (Coordinates &c)
 QhullPoint (const QhullPoint &other)
void setCoordinates (coordT *c)
void setDimension (int pointDimension)
size_t size ()
std::vector< coordTtoStdVector () const
 ~QhullPoint ()

Static Public Member Functions

static int id (const coordT *c)
static int id (int qhRunId, const coordT *c)
static int id (int qhRunId, int dimension, const coordT *c)
 If qhRundID undefined uses QhullPoint::s_points_begin and dimension.

Private Attributes

coordTpoint_coordinates
 A point is a pointer into an array of coordinates.
int point_dimension

Detailed Description

Definition at line 30 of file QhullPoint.h.


Member Typedef Documentation

Definition at line 42 of file QhullPoint.h.

Definition at line 44 of file QhullPoint.h.

Definition at line 41 of file QhullPoint.h.

Definition at line 43 of file QhullPoint.h.


Constructor & Destructor Documentation

Definition at line 52 of file QhullPoint.h.

orgQhull::QhullPoint::QhullPoint ( int  pointDimension,
coordT c 
) [inline]

Definition at line 53 of file QhullPoint.h.

orgQhull::QhullPoint::QhullPoint ( Coordinates c) [inline, explicit]

Definition at line 54 of file QhullPoint.h.

orgQhull::QhullPoint::QhullPoint ( const QhullPoint other) [inline]

Definition at line 56 of file QhullPoint.h.

Definition at line 59 of file QhullPoint.h.


Member Function Documentation

void orgQhull::QhullPoint::advancePoint ( int  idx) [inline]

Definition at line 80 of file QhullPoint.h.

Definition at line 91 of file QhullPoint.h.

Definition at line 92 of file QhullPoint.h.

Definition at line 93 of file QhullPoint.h.

Definition at line 94 of file QhullPoint.h.

const coordT* orgQhull::QhullPoint::coordinates ( ) const [inline]

Definition at line 72 of file QhullPoint.h.

Definition at line 73 of file QhullPoint.h.

int orgQhull::QhullPoint::count ( ) [inline]

Definition at line 95 of file QhullPoint.h.

void orgQhull::QhullPoint::defineAs ( int  pointDimension,
coordT c 
) [inline]

Definition at line 81 of file QhullPoint.h.

void orgQhull::QhullPoint::defineAs ( QhullPoint other) [inline]

Creates an alias to other.

Definition at line 83 of file QhullPoint.h.

int orgQhull::QhullPoint::dimension ( ) const [inline]

Definition at line 74 of file QhullPoint.h.

double orgQhull::QhullPoint::distance ( const QhullPoint p) const

Return distance betweeen two points.

Definition at line 92 of file QhullPoint.cpp.

Definition at line 96 of file QhullPoint.h.

Definition at line 97 of file QhullPoint.h.

static int orgQhull::QhullPoint::id ( const coordT c) [inline, static]

Definition at line 47 of file QhullPoint.h.

static int orgQhull::QhullPoint::id ( int  qhRunId,
const coordT c 
) [inline, static]

Definition at line 48 of file QhullPoint.h.

int orgQhull::QhullPoint::id ( int  qhRunId,
int  dimension,
const coordT c 
) [static]

If qhRundID undefined uses QhullPoint::s_points_begin and dimension.

Definition at line 24 of file QhullPoint.cpp.

int orgQhull::QhullPoint::id ( int  qhRunId) const [inline]

Definition at line 75 of file QhullPoint.h.

int orgQhull::QhullPoint::id ( ) const [inline]

Definition at line 76 of file QhullPoint.h.

bool orgQhull::QhullPoint::isDefined ( ) const [inline]

Definition at line 77 of file QhullPoint.h.

bool orgQhull::QhullPoint::operator!= ( const QhullPoint other) const [inline]

Definition at line 102 of file QhullPoint.h.

QhullPoint& orgQhull::QhullPoint::operator= ( const QhullPoint other) [inline]

Definition at line 58 of file QhullPoint.h.

bool orgQhull::QhullPoint::operator== ( const QhullPoint other) const

Definition at line 67 of file QhullPoint.cpp.

const coordT& orgQhull::QhullPoint::operator[] ( int  idx) const [inline]

Reimplemented in orgQhull::QhullPoints::const_iterator, and orgQhull::QhullPoints::iterator.

Definition at line 103 of file QhullPoint.h.

coordT& orgQhull::QhullPoint::operator[] ( int  idx) [inline]

Definition at line 104 of file QhullPoint.h.

Definition at line 113 of file QhullPoint.h.

PrintPoint orgQhull::QhullPoint::print ( int  qhRunId) const [inline]

Definition at line 114 of file QhullPoint.h.

PrintPoint orgQhull::QhullPoint::print ( int  qhRunId,
const char *  message 
) const [inline]

Definition at line 115 of file QhullPoint.h.

PrintPoint orgQhull::QhullPoint::printWithIdentifier ( int  qhRunId,
const char *  message 
) const [inline]

Definition at line 116 of file QhullPoint.h.

Definition at line 84 of file QhullPoint.h.

void orgQhull::QhullPoint::setDimension ( int  pointDimension) [inline]

Definition at line 85 of file QhullPoint.h.

size_t orgQhull::QhullPoint::size ( ) [inline]

Definition at line 98 of file QhullPoint.h.

std::vector< coordT > orgQhull::QhullPoint::toStdVector ( ) const

Definition at line 53 of file QhullPoint.cpp.


Member Data Documentation

A point is a pointer into an array of coordinates.

Definition at line 36 of file QhullPoint.h.

Definition at line 37 of file QhullPoint.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libqhull
Author(s): Robert Krug
autogenerated on Tue Jun 18 2013 12:38:50