For various functionality, it is necessary to find the index in a pointlist of a position. The new methods should be
PointList.def get_indices(self, other: PointList)
which will return an array that is parallel to the input for indices into self of the supplied other. Any position that isn't found should be filled with -1.
For various functionality, it is necessary to find the index in a pointlist of a position. The new methods should be
which will return an array that is parallel to the input for indices into
self
of the suppliedother
. Any position that isn't found should be filled with-1
.