Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

# IsoEx::Edge2VertexMapT< PointIdx, VertexHandle > Class Template Reference

This class map edges (referenced by a point index and an axis) to vertex handles. More...

`#include <IsoEx/Extractors/Edge2VertexMapT.hh>`

List of all members.

## Public Member Functions
| Edge2VertexMapT ()
| Constructor.
void | clear ()
| clear the map
void | insert (PointIdx _p0, PointIdx _p1, VertexHandle _vhnd)
| Store vertex in map.
VertexHandle | find (PointIdx _p0, PointIdx _p1) const
| Get vertex handle from map. Returns invalid handle if not found.

## Detailed Description

### template<class PointIdx, class VertexHandle>
class IsoEx::Edge2VertexMapT< PointIdx, VertexHandle >

This class map edges (referenced by a point index and an axis) to vertex handles.

Both PointIdx and VertexHandle are template arguments. Internally this is implemented using a std::map, the key is a combination of point and axis index, the value is a VertexHandle.

Note:
  PointIdx must be comparable, i.e. have operator<().

The documentation for this class was generated from the following file:

- Edge2VertexMapT.hh