(Closed) sequence(s) of connected n-D coordinates. Undefined coordinates separate consecutive sequences.
More...
|
| PolyLineND (bool closed=false) |
|
| PolyLineND (const TypeSet< T > &coords, bool closed=false) |
|
void | setClosed (bool yn) |
|
bool | isClosed () const |
|
double | distTo (const T &pt, int *segmentidxptr=0, double *fractionptr=0) const |
|
T | closestPoint (const T &pt) const |
|
double | arcLength (int idx, double frac=0.0) const |
|
double | arcLength (const T &pt) const |
|
double | arcLength () const |
|
T | getPoint (int idx, double frac=0.0) const |
|
T | getPoint (double arclen) const |
|
| TypeSet () |
|
| TypeSet (int nr, T typ) |
|
| TypeSet (const T *t, int nr) |
|
| TypeSet (const TypeSet< T > &t) |
|
virtual | ~TypeSetBase () |
|
TypeSetBase< T, int > & | operator= (const TypeSetBase< T, int > &ts) |
|
size_type | size () const |
|
virtual int64_t | nrItems () const |
|
virtual bool | setSize (size_type, T val=T()) |
|
virtual bool | setCapacity (size_type sz, bool withmargin) |
|
virtual size_type | getCapacity () const |
|
void | setAll (T) |
|
void | replace (T, T) |
|
T & | operator[] (size_type) |
|
const T & | operator[] (size_type) const |
|
T & | first () |
|
const T & | first () const |
|
T & | last () |
|
const T & | last () const |
|
virtual bool | validIdx (int64_t) const |
|
virtual size_type | indexOf (T, bool forward=true, size_type start=-1) const |
|
bool | isPresent (const T &) const |
|
size_type | count (const T &) const |
|
TypeSetBase< T, int > & | add (const T &) |
|
virtual void | insert (size_type, const T &) |
|
bool | push (const T &) |
|
T | pop () |
|
TypeSetBase< T, int > & | operator+= (const T &t) |
|
virtual bool | append (const T *, size_type) |
|
virtual bool | append (const TypeSetBase< T, int > &) |
|
virtual bool | addIfNew (const T &) |
|
virtual TypeSetBase< T, int > & | copy (const T *, size_type) |
|
virtual TypeSetBase< T, int > & | copy (const TypeSetBase< T, int > &) |
|
virtual void | createUnion (const TypeSetBase< T, int > &) |
|
virtual void | createIntersection (const TypeSetBase< T, int > &) |
| Only keeps common items. More...
|
|
virtual void | createDifference (const TypeSetBase< T, int > &, bool must_preserve_order=false) |
| Removes all items present in other set. More...
|
|
virtual void | swap (int64_t, int64_t) |
|
virtual void | move (size_type from, size_type to) |
|
virtual void | getReOrdered (const size_type *, TypeSetBase< T, int > &) |
| Fills as per the given array of indexes. More...
|
|
virtual void | reverse () |
|
virtual void | erase () |
|
virtual void | removeSingle (size_type, bool preserver_order=true) |
|
TypeSetBase< T, int > & | operator-= (const T &) |
|
virtual void | removeRange (size_type from, size_type to) |
|
virtual T * | arr () |
| 3rd party access More...
|
|
virtual const T * | arr () const |
|
std::vector< T > & | vec () |
|
const std::vector< T > & | vec () const |
|
virtual | ~Set () |
|
bool | isEmpty () const |
|
void | setEmpty () |
|
template<class T>
class PolyLineND< T >
(Closed) sequence(s) of connected n-D coordinates. Undefined coordinates separate consecutive sequences.