Function index
Index the input vertex range into a range of indices with the given Indexer. The shared vertices will be put into the given output range. (each vertex is given once)
auto index(VR, VOR, Indexer)
(
VR vertexInRange,
VOR vertexOutRange,
Indexer indexer = LruIndexer!(ushort, ElementType!VR)(8)
)
if (isInputRange!VR && !isFace!(ElementType!VR) && isOutputRange!(VOR, ElementType!VR) && isIndexer!Indexer && is(ElementType!VR == Indexer .VertexType));