mg_path_node_at

Returns the node at position pos in the traversal of path path.

Nodes are indexed from 0 to path length.

Return: A pointer to the required node. If pos is out of path bounds, NULL is returned.

extern (C)
const(mg_node)*
mg_path_node_at
(
const mg_path* path
,
uint pos
)

Meta