Template Function find

Function Documentation

template<typename TBGLGraphType, typename TCoordType>
static inline boost::optional<typename TBGLGraphType::vertex_descriptor> find(const TBGLGraphType &g, const TCoordType &c)

Search for the vertex with coordinates c in g.

Returns:

The descriptor of the matching vertex, or -1 if not found.