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

#include <PointCoordinates.h>

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

List of all members.

Public Member Functions

void append (const std::vector< coordT > &otherCoordinates)
 QhullPoints coordinates, constData, data, count, size.
void append (int coordinatesCount, const coordT *c)
void append (const coordT &c)
 Dimension previously defined.
void append (const QhullPoint &p)
 Dimension previously defined.
void append (const Coordinates &c)
 See convert for std::vector and QList.
void append (const PointCoordinates &other)
void appendComment (const std::string &s)
void appendPoints (std::istream &in)
Coordinates::ConstIterator beginCoordinates () const
 defineAs() otherwise disabled
Coordinates::Iterator beginCoordinates ()
Coordinates::ConstIterator beginCoordinates (int pointIndex) const
Coordinates::Iterator beginCoordinates (int pointIndex)
void checkValid () const
 See QhullPoints for coordinates, coordinateCount, dimension, empty, isEmpty, ==, !=.
std::string comment () const
Coordinates::ConstIterator endCoordinates () const
Coordinates::Iterator endCoordinates ()
const CoordinatesgetCoordinates () const
void makeValid ()
PointCoordinates operator+ (const PointCoordinates &other) const
 See QhullPoints for contains, count, indexOf, lastIndexOf.
PointCoordinatesoperator+= (const PointCoordinates &other)
PointCoordinatesoperator+= (const coordT &c)
PointCoordinatesoperator+= (const QhullPoint &p)
PointCoordinatesoperator<< (const PointCoordinates &other)
PointCoordinatesoperator<< (const coordT &c)
PointCoordinatesoperator<< (const QhullPoint &p)
PointCoordinatesoperator= (const PointCoordinates &other)
 PointCoordinates ()
 Comment describing PointCoordinates.
 PointCoordinates (int pointDimension)
 PointCoordinates (const std::string &aComment)
 PointCoordinates (int pointDimension, const std::string &aComment)
 PointCoordinates (int pointDimension, const std::string &aComment, int coordinatesCount, const coordT *c)
 PointCoordinates (const PointCoordinates &other)
 Use append() and appendPoints() for Coordinates and vector<coordT>
void reserveCoordinates (int newCoordinates)
void setComment (const std::string &s)
void setDimension (int i)
std::vector< coordTtoStdVector () const
 ~PointCoordinates ()

Private Member Functions

void defineAs (int coordinatesCount, coordT *c)
int indexOffset (int i) const

Private Attributes

std::string point_comment
Coordinates point_coordinates

Detailed Description

Definition at line 27 of file PointCoordinates.h.


Constructor & Destructor Documentation

Comment describing PointCoordinates.

PointCoordinates -- vector of PointCoordinates.

Definition at line 30 of file PointCoordinates.cpp.

orgQhull::PointCoordinates::PointCoordinates ( int  pointDimension) [explicit]

Definition at line 40 of file PointCoordinates.cpp.

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

Definition at line 49 of file PointCoordinates.cpp.

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

Definition at line 58 of file PointCoordinates.cpp.

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

Definition at line 67 of file PointCoordinates.cpp.

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

Definition at line 76 of file PointCoordinates.cpp.

Definition at line 94 of file PointCoordinates.cpp.


Member Function Documentation

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

QhullPoints coordinates, constData, data, count, size.

Definition at line 50 of file PointCoordinates.h.

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

Definition at line 138 of file PointCoordinates.cpp.

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

Dimension previously defined.

Definition at line 93 of file PointCoordinates.h.

Dimension previously defined.

Definition at line 159 of file PointCoordinates.cpp.

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

See convert for std::vector and QList.

Definition at line 96 of file PointCoordinates.h.

Definition at line 152 of file PointCoordinates.cpp.

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

Definition at line 166 of file PointCoordinates.cpp.

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

Definition at line 178 of file PointCoordinates.cpp.

defineAs() otherwise disabled

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

Definition at line 77 of file PointCoordinates.h.

Definition at line 78 of file PointCoordinates.h.

Definition at line 124 of file PointCoordinates.cpp.

Definition at line 130 of file PointCoordinates.cpp.

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

Definition at line 100 of file PointCoordinates.cpp.

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

Definition at line 61 of file PointCoordinates.h.

void orgQhull::PointCoordinates::defineAs ( int  coordinatesCount,
coordT c 
) [inline, private]

Reimplemented from orgQhull::QhullPoints.

Definition at line 68 of file PointCoordinates.h.

Definition at line 81 of file PointCoordinates.h.

Definition at line 82 of file PointCoordinates.h.

Definition at line 63 of file PointCoordinates.h.

int orgQhull::PointCoordinates::indexOffset ( int  i) const [private]

Definition at line 253 of file PointCoordinates.cpp.

Definition at line 62 of file PointCoordinates.h.

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

See QhullPoints for contains, count, indexOf, lastIndexOf.

Definition at line 235 of file PointCoordinates.cpp.

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

Definition at line 100 of file PointCoordinates.h.

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

Definition at line 101 of file PointCoordinates.h.

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

Definition at line 102 of file PointCoordinates.h.

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

Definition at line 103 of file PointCoordinates.h.

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

Definition at line 104 of file PointCoordinates.h.

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

Definition at line 105 of file PointCoordinates.h.

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

Definition at line 85 of file PointCoordinates.cpp.

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

Definition at line 243 of file PointCoordinates.cpp.

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

Definition at line 64 of file PointCoordinates.h.

Reimplemented from orgQhull::QhullPoints.

Definition at line 109 of file PointCoordinates.cpp.

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

Reimplemented from orgQhull::QhullPoints.

Definition at line 51 of file PointCoordinates.h.


Member Data Documentation

array of point coordinates may have extraCoordinates()

Definition at line 33 of file PointCoordinates.h.

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