GLAMERDOC++
Gravitational Lensing Code Library
|
link list for points, uses the linking pointers within the Point type unlike Kist More...
#include <point.h>
Public Member Functions | |
unsigned long | size () const |
bool | IsTop (PointList::iterator &it) const |
bool | IsBottom (PointList::iterator &it) const |
Point * | Top () const |
Point * | Bottom () const |
void | EmptyList () |
void | InsertPointAfterCurrent (iterator ¤t, Point *) |
void | InsertPointBeforeCurrent (iterator ¤t, Point *) |
void | MoveCurrentToBottom (iterator ¤t) |
Point * | TakeOutCurrent (iterator ¤t) |
void | InsertListAfterCurrent (iterator ¤t, PointList *list2) |
void | InsertListBeforeCurrent (iterator ¤t, PointList *list2) |
void | MergeLists (PointList *list2) |
void | ShiftList (iterator ¤t) |
void | PrintList () |
void | setN (unsigned long N) |
void | setTop (Point *p) |
void | setBottom (Point *p) |
link list for points, uses the linking pointers within the Point type unlike Kist
Does not own the Points within it and will not delete them when distroyed
Point * PointList::TakeOutCurrent | ( | iterator & | it | ) |
takes out current point and set current to point previous