template<class T>
class gismo::gsHalfEdgeMesh< T >::Halfedge
Class that maintains directed halfedges in any dimension.
Inner classes. Needs to be defined in sequence Halfedge, Chain, Boundary The class Halfedge represents a halfedge in any dimension given by its origin and end point indices and its length. A halfedge can be constructed with desired origin and end point and length. Two halfedges can be compared by == and !=. There are getter function for origin, end and length. There are functions to test wheter a halfedge can be appended to another one before or afterwards and whether a halfedge is a twin of another.
Halfedges can be outputted like (origin–end: length).
|
size_t | getEnd () const |
| Get end vertex index. More...
|
|
T | getLength () const |
| Get length of halfedge. More...
|
|
size_t | getOrigin () const |
| Get origin vertex index. More...
|
|
| Halfedge (const size_t origin=0, const size_t end=0, const T length=0) |
| This constructor sets the origin- and * end-point indices as well as length to preferred values. More...
|
|
bool | isNext (const Halfedge &previousHalfedge) const |
| Tells if halfedge can be added at beginning. More...
|
|
bool | isPrev (const Halfedge &nextHalfedge) const |
| Tells if halfedge can be added at end. More...
|
|
bool | isTwin (const Halfedge &halfedge) const |
| Tells if halfedge is twin. More...
|
|