Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Doubly connected triangle list. More...
#include <geogram/delaunay/CDT_2d.h>
Public Member Functions | |
DList (CDTBase2d &cdt, index_t list_id) | |
Constructs an empty DList. More... | |
DList (CDTBase2d &cdt) | |
Creates an uninitialized DList. More... | |
void | initialize (index_t list_id) |
Initializes a list. More... | |
bool | initialized () const |
Tests whether a DList is initialized. | |
bool | empty () const |
bool | contains (index_t t) const |
index_t | front () const |
index_t | back () const |
index_t | next (index_t t) const |
index_t | prev (index_t t) const |
void | clear () |
index_t | size () const |
void | push_back (index_t t) |
index_t | pop_back () |
void | push_front (index_t t) |
index_t | pop_front () |
void | remove (index_t t) |
void | show (std::ostream &out=std::cerr) const |
Doubly connected triangle list.
DList is used to implement:
|
inline |
Creates an uninitialized DList.
One cannot do anything with an uninitialized Dlist, except:
|
inline |