Go to the documentation of this file.
18 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4
34 if(length<0 || idx+length >
count()){
35 newLength=
count()-idx;
39 std::copy(
begin()+idx,
begin()+(idx+newLength), std::back_inserter(result));
47 return ((idx < 0 || idx >=
count()) ? defaultValue : (*
this)[idx]);
56 std::copy(other.
begin(), other.
end(), std::back_inserter(result));
65 std::copy(clone.
begin(), clone.
end(), std::back_inserter(*
this));
67 std::copy(other.
begin(), other.
end(), std::back_inserter(*
this));
79 for(
int i= 0; i<pointDimension; ++i){
139 const_iterator i=
begin()+from;
155 }
else if(from>=
count()){
159 const_iterator i=
begin()+from+1;
172 MutableCoordinatesIterator i(*
this);
173 while(i.findNext(t)){
192 Coordinates::const_iterator
c= cs.
begin();
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
Coordinates operator+(const Coordinates &other) const
Coordinates mid(countT idx, countT length=-1) const
const_iterator constEnd() const
ostream & operator<<(ostream &os, const Coordinates &cs)
coordT takeAt(countT idx)
void append(int pointDimension, coordT *c)
coordT value(countT idx, const coordT &defaultValue) const
iterator erase(iterator idx)
bool findNext(const coordT &t)
void swap(countT idx, countT other)
std::vector< coordT > coordinate_array
const_iterator constBegin() const
countT indexOf(const coordT &t, countT from=0) const
countT lastIndexOf(const coordT &t, countT from=-1) const
void removeAll(const coordT &t)
bool contains(const coordT &t) const
Coordinates & operator+=(const Coordinates &other)
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57