GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
PointList Struct Reference

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
 
PointTop () const
 
PointBottom () const
 
void EmptyList ()
 
void InsertPointAfterCurrent (iterator &current, Point *)
 
void InsertPointBeforeCurrent (iterator &current, Point *)
 
void MoveCurrentToBottom (iterator &current)
 
PointTakeOutCurrent (iterator &current)
 
void InsertListAfterCurrent (iterator &current, PointList *list2)
 
void InsertListBeforeCurrent (iterator &current, PointList *list2)
 
void MergeLists (PointList *list2)
 
void ShiftList (iterator &current)
 
void PrintList ()
 
void setN (unsigned long N)
 
void setTop (Point *p)
 
void setBottom (Point *p)
 

Detailed Description

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

Member Function Documentation

◆ TakeOutCurrent()

Point * PointList::TakeOutCurrent ( iterator & it)

takes out current point and set current to point previous


The documentation for this struct was generated from the following files: