Points.getIndices

Points.getIndices(names)

The indices of a list of point names.

Return a list of the the index locations of the provided point names.

Parameters:

names (list) – The names of points.

Returns:

list

See also

getIndex

Examples

>>> X = nimble.identity(4, pointNames=['a', 'b', 'c', 'd'])
>>> X.points.getIndices(['c', 'a', 'd'])
[2, 0, 3]

Keywords: positions, spots, locations, identifiers