GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions
HMesh::ItemVector< ITEM > Class Template Reference

List of all members.

Public Member Functions

 ItemVector (size_t _size=0, ITEM i=ITEM())
 default constructor
ITEM & get (size_t i)
 Get a reference to item i from kernel.
const ITEM & get (size_t i) const
 Get a const reference to item i from kernel.
ITEM & operator[] (size_t i)
 Get a reference to item i from kernel.
const ITEM & operator[] (size_t i) const
 Get a const reference to item i from kernel.
size_t add (const ITEM &i)
 Add an entity to the kernel.
void remove (size_t i)
 remove an entity from kernel - entity is NOT erased!
void cleanup ()
 erase unused entities from the kernel
size_t active_size () const
 active size of vector
size_t total_size () const
 total size of vector
void resize (size_t _size, ITEM i=ITEM())
 Resize the kernel NOTE: Sets all active flags to true.
void reserve (size_t i)
 Request size change in kernel.
void clear ()
 Clear the kernel.
bool in_use (size_t i) const
 Check if entity i is used.
size_t index_begin (bool skip=true) const
 get starting index (default: skip to first active index)
size_t index_end () const
 get one past the end index of vector
size_t index_next (size_t index, bool skip=true) const
 get the next index (default: skip to first active index)
size_t index_prev (size_t index, bool skip=true) const
 get the previous index (default: skip to first active index)

template<typename ITEM>
class HMesh::ItemVector< ITEM >


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations